code4business / freeproduct2

Magento2 extension that allows creating sales rules that add gift products.
64 stars 28 forks source link

How to set subtotal value to "2.5" or show original product price for free gift product item in cart page(currently its showing 0.00) ? #44

Closed nkp86 closed 12 months ago

nkp86 commented 1 year ago

Preconditions

Settings / Sale Rules

  1. cart price rule to add free product on whole cart amount

Steps to reproduce

  1. add a product to the cart with the particular price value as configured in sales rule

    Expected result

Actual result

  1. image

nkp86 commented 1 year ago

Hi @domeglic, could you please provide and solution for the above problem?

domeglic commented 1 year ago

Having a product show a price but be excluded in the subtotal doesn't make sense. You would have to adjust magento calculation logic to ignore products but still show their price. It is out of scope for this module.

nkp86 commented 1 year ago

@domeglic Oh, but I just want to auto-add a free product to the cart only, it should not calculate the subtotal. Is it possible, for me to adjust the Magento calculation here, can you please suggest it so I can achieve it?

2.1000