Home Forums WoodMart support forum Free Gift Product Variation Not Applied Correctly in Cart and Order Totals

Free Gift Product Variation Not Applied Correctly in Cart and Order Totals

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #721952

    stoianaandreidragos
    Participant

    The gift product is added to the cart correctly, however the pricing behavior is inconsistent:

    When the gift is initially added to the cart, it is displayed with its regular price instead of being free.
    If we refresh the cart page, the gift product label changes and appears as FREE.
    Despite showing as FREE in the cart, its price is still included in:
    The cart totals
    The checkout totals
    The WooCommerce order totals
    The WooCommerce admin order details

    As a result, customers are still being charged for the free gift.

    Expected Behavior

    When the cart exceeds 200 RON:

    The product variation should be added automatically as a free gift.
    The gift price should be set to 0.
    The gift should not affect cart totals, checkout totals, or order totals.
    The order in WooCommerce should store the gift item with a zero price.
    Additional Information

    The issue seems to occur specifically when using a product variation as the free gift. We have not yet tested whether the same behavior occurs with a simple product.

    Attached is a screenshot showing that the gift appears as FREE, but its value is still included in the order total.

    Could you please advise if this is a known issue or if there is a recommended fix/workaround?

    Thank you.

    Attachments:
    You must be logged in to view attached files.
    #721966

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    The Free Gifts feature should automatically add the gift product and set its price to 0, so it should not affect the cart totals, checkout totals, or order totals.

    Please follow this guide how it works: https://xtemos.com/docs-topic/free-gifts/

    Since the issue appears to occur specifically with a product variation being used as the gift, could you please test the same rule with a simple product and check whether the behavior persists?

    If the issue only occurs with variations, please provide the free gift rule configuration (screenshots), the gift product URL, and share temporary WP-Admin access, so we can investigate the issue further on your site.

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)