Show product variation as single product in woocommerce - php

I have a woocommerce shop with 3 products (rolling lawns). These products have many different pricing configurations based on geolocation (for delivery) of the customer and quantity(meters) selected. So for all the different quantity levels (below 60 meters, below 100 meters,...) and the zip code I have a product variation for this product with its own price. Now a requirement is that on a specific page I have to show, based on the input of zip code and quantity, a product which the user can add to cart. The price has to adapt to the input of course, thats why I want to use the variation which has the price per meter and multiply it with the quantity. I cannot figure out how to display the needed variation as a product where the customer can click "add to cart". Is this possible? Or have I failed the topic and should solve this a total other way and not with variations?

Related

WP minimum Quantity at single product page

I'm using the following answer code that enable product quantity fields in shop and archive pages:
Show quantity box with add to cart ajax enabled in Woocommerce shop page and its work great.
This code work fine the problem is: when i am on a single product page and product has a minimum amount to order (5 for example) the code put the same minimum amount at the releated products (even if they dont have a minimum amount for order)

Calculate, display and add price based on weight n wordpress

I am designing a grocery website in wordpress where in I wish to display price per kg for vegetable and user will now enter the weight they wish and price should get recalculated and displayed and added to cart(after user click on add to cart button).
I have tried few plugins like Price per product and Price Measurement but nothing seems to work. How can this be achieved?
Just multiply the price per Kg by the weight requested to get the price.

Category Quantity Discount for Opencart

If I have many products on one category and I want to give discounts for specific quantity like: 2 for 10% off, 3 for 15% off and 4 for 20% off in any product they purchased on that same category.
I've tried to find extensions in opencart but I didn't found one. Does anyone knows any extension for this in opencart?
Thank you.
This features is already exits int the open cart system.
Go to that product form in the admin panel,
Home -> Product-> In product form there is a Discount tab,you can set price for every product according to the quantity.

How to show product total price calculation in Magento cart

I'm having problems trying to show the product full total price in Magento, and by product total price I mean full product price without the discount; the price has to be multiplied for each product quantity added to the cart, and custom options additional price should be added as well. Which files should I edit in Magento? is it possible to show the product discount inside the cart (amount that varies with the amount of ordered products)?
Thanks
Edit:
screenshot
In the blue rectangle it shows the regular price, which should be regular price X 2 (since product quantity is 2) with added 122€ as chosen in product special options. Instead now it shows regular price with discount applied and for only 1 product, without special option added.

Apply magento shoping cart rule to 4 different items only

I have a store where i would like to give 20% discount to some products if a specific product is added.
Example:
I have 8 products A,B,C,D,E,F,G,H
and users selects all the products I only want to give discount on A,B,D,E.
How this can be done using shopping cart rule magento?
With Shopping cart price rules you can apply discount for specific products using product's SKU
This link will help (section X% off specific products)

Categories