I am working with cross-selling on my shopping cart page.
I have two products: #001 and #002.
Currently, if product #001 is in the cart, the upsell will display a message about #002.
I would like to get #002's finalPrice-(cart rules), so that the price is displayed with the discount, based on the fact that product #001 is in the cart.
How can I subtract the cart discount given on #002?
Currently, with getFinalPrice(), the full price "499,-" is displayed, even though #001 is added to the cart, and has rules that tells #002 to have 50% discount.
Related
In Magento 2 I have created a custom module category discount. When active its working fine for product list, details and cart view page.
But when I remove this discount it shows the original price for list and details page which is correct but mini cart view shows me the discounted price which shouldn't be the case. However if I update the quantity then it's fine.
I don't want to click the update button in the mini cart view for the original price. I want to do this using an observer.
I have few variation products on my site. As you can see in the image, the price of the product added to cart it 199 Rupees. But when added, the price shown in the cart above is 179! I checked in the admin panel, edited the product but everything is fine. What could be the issue? I have also tried updating wordpress and woocommerce.
I am using <?php echo WC()->cart->get_cart_subtotal(); ?> inside header.php to get the total price but it returns (TotalPrice - DiscountedPrice) when coupon is applied. I want to show only total price and exclude discounted price.
SO the problem is, if the coupon is applied, which is saved, the price shown in cart is the discounted price. But when you go to cart page, it adds the tax rate and applies coupon again!. How to fix this issue!
It might be as simple as clearing the cache..
Woocommerce>>System Status >> Tools >> WC Transients >> Clear Transients
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.
In my magento there are products with discounted price which gets applied from special_price attribute .
Now when i tried to create a Shopping cart price rule and created a coupon code, the coupon code discounted price gets calculated on discounted price.
But i want if the product is already under discounted price , coupon code discount should apply on base price and not on discounted price.
Please guide me how to setup this in magento.
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)