wordpress woocommerce custom work

Job ID: 38985683

Budget: ₹600 – ₹5,000 INR

Hello, I have a WordPress store (ecommerce), I am interested in generating an automatic price calculation according to parameters that I will indicate to you

I have a certain price list for each category, this means that all the products in the same category have the same price according to the variations (my website works according to the variations and not necessarily according to the quantity, which means that the customer chooses the quantity through a variation, and not through the cart to which he adds the product several times )

I want to have an automatic price calculation between products that are in the same category, example:
There are currently 2 products in the boutique strains category called Black Widow and Caviar Gold
If I choose a 5G variant for both products (total 10G)

The price that will be displayed is 800, because each 5G of each product costs 400
But if I want to take 10G from one of the products, the price will be 650

I want to reach a situation where if a customer added products that exist in the same category, they will share the same price, for example you chose 10G of one variety and 10G of another variety (10G costs 650), so that it will not show you the price of 10G+10G of both products (1300 total), but a price of 20G as from one of the products (1150)
And this is how I want to create rules for all the categories I have on the site, that share the same price table, and if a customer combines products that are from the same category and share the same prices, that the quantities (according to the variations) will also share the same price

I hope I explained myself properly, if you want I can provide you with a code that I have with Chat GPT which worked for me at first but after I tried to combine products with larger quantities it no longer worked

I would love to hear if this is something you can do, what is the cost of the work, and how much time will the work take?
Thank you very much
Related categories: PHP Website Design MySQL WooCommerce WordPress Plugin