The product’s discount price is not visible in the shopping cart.

This topic has 18 replies, 3 voices, and was last updated 8 months, 4 weeks ago ago by Luca Rossi

  • Avatar: infomrprod
    infomrprod
    Participant
    March 8, 2025 at 14:48

    This has actually been going on for a long time.
    When I run a campaign, the discounted price is clearly visible in the online store. The shopping cart shows the regular price. However, the total amount is correct.
    This misleads many customers. What could be wrong?

    Files is visible for topic creator and
    support staff only.
    17 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 8, 2025 at 15:08

    Hello,

    Thank you for reaching out to us.

    To resolve your issue, please navigate to:
    Elementor > Settings > Integration > WooCommerce > Mini Cart Template > Disable.

    After making this change, kindly check the Cart Off-Canvas content.

    Should you require any further assistance, please do not hesitate to contact us.

    Best Regards,
    8Theme’s Team

    Avatar: infomrprod
    infomrprod
    Participant
    March 9, 2025 at 20:07

    I did that, but it didn’t fix the price error in the shopping cart.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 10, 2025 at 07:58

    Hello,

    Thank you for reaching out to us.

    1/ To assist you more effectively, we kindly request that you record a video demonstrating the issue and the steps leading to it. This will help us better understand and replicate the problem on our end.
    Upload the video on a filesharing service, for example – https://wetransfer.com/ , and provide us with the URL.

    2/ Could you please provide temporary wp-admin access? We need to check your settings.

    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    Warm Regards,
    The 8Theme Team

    Avatar: infomrprod
    infomrprod
    Participant
    March 10, 2025 at 22:00

    I send info.
    Problem is when i make discount campaigns.
    Right now i make “uued” campaign for you, two discounted product.

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    March 11, 2025 at 16:44

    Dear @infomrprod,

    Could this be related to cache issues?

    The price appears to be correct on our end: (https://tinyurl.com/25vs7c54).

    Please let us know if you need any further assistance.

    Best regards,
    8Theme Team

    Avatar: infomrprod
    infomrprod
    Participant
    March 12, 2025 at 09:26

    I think this is a preview of the shopping cart?
    It’s right there, but in the shopping cart (…/ostukorv), where there’s shipping information, etc., the price is wrong.

    Avatar: Justin
    Luca Rossi
    Support staff
    March 12, 2025 at 14:29

    Dear @infomrprod,

    Could you kindly resend us some screenshots or videos at your earliest convenience? This would greatly help us assist you more effectively.

    Thank you for your time and cooperation.

    **Best regards,**
    8Theme Team

    Avatar: infomrprod
    infomrprod
    Participant
    March 12, 2025 at 15:55

    I added pictures.

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    March 13, 2025 at 08:27

    Dear @infomrprod,

    By default, WooCommerce displays only the original price on the cart page. If you would like to show the sale price as well, we recommend trying the following solutions:

    – (https://www.businessbloomer.com/woocommerce-display-regularsale-price-cart-table/)
    – (https://wordpress.org/plugins/woo-discount-price/)

    We hope this helps! Please feel free to reach out if you need further assistance.

    Best regards,
    8Theme Team

    Avatar: infomrprod
    infomrprod
    Participant
    March 13, 2025 at 09:30

    I have been using your system for over a year.
    The problem with the price display only started this year.

    Avatar: Justin
    Luca Rossi
    Support staff
    March 13, 2025 at 09:47

    Hi @infomrprod,

    Can you please try adding the following code under functions.php file locates in your child theme?

    
    add_filter( 'woocommerce_cart_item_price', 'filter_cart_item_price', 999, 3 );
    function filter_cart_item_price( $price_html, $cart_item, $cart_item_key ) {
    	if( $cart_item['data']->is_on_sale() ) {
    		return $cart_item['data']->get_price_html();
    	}
    	return $price_html;
    }
    

    Let us know how it goes!

    Avatar: infomrprod
    infomrprod
    Participant
    March 13, 2025 at 18:49

    Didn’t work.

    Avatar: Justin
    Luca Rossi
    Support staff
    March 14, 2025 at 11:09

    Dear @infomrprod,

    We hope you are doing well.

    We would like to inform you that we have reactivated the custom code, and it is now functioning correctly:

    https://prnt.sc/56B6bgeNMYtQ

    Could you kindly review and confirm that everything is working as expected?

    Thank you for your time and assistance.

    Best regards,
    8Theme Team

    Avatar: infomrprod
    infomrprod
    Participant
    March 14, 2025 at 18:02

    I have products that are permanently discounted and the discount price is placed on the product page.
    Then there are promotions that I run using Woocommerce Discount Rules. The discount price of a product that is on a promotion is not visible in the shopping cart.

    Not working.

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    March 15, 2025 at 11:06

    Dear @infomrprod,

    Thank you for reaching out to us.

    It appears that the product in question is not marked as a sale product, which is why the sale price is not being displayed on the cart page. Please refer to the following screenshot for reference:
    (https://prnt.sc/oKEgQudhxQgb)

    In this case, we kindly recommend that you contact the plugin’s author for further assistance regarding this issue:
    (https://wordpress.org/support/plugin/woo-discount-rules/)

    Please note that issues related to third-party plugins fall outside the scope of our standard support services.

    We appreciate your understanding. Should you have any other questions, please feel free to reach out.

    Best regards,
    8Theme Team

    Avatar: infomrprod
    infomrprod
    Participant
    March 21, 2025 at 18:01

    I asked from Discount Rule plugin about the error. They replied like this:
    You built your cart page using the XStore theme, which is causing an issue.
    The first entry on the cart page is not handled correctly by XStore. When increasing or decreasing the quantity, the cart updates, and the correct response is received via JavaScript from XStore.
    The issue arises because XStore does not properly handle the first cart entry. Currently, we only support the WooCommerce default cart page.
    For testing purposes, we have added a default WooCommerce cart page hook, and we’ve confirmed that the default cart page works fine without any issues.
    We confirm that this issue is not on our end.
    Therefore, please use the WooCommerce default cart page, or contact XStore support for assistance in resolving the issue.

    And I tried it, it really fixes the discount problem.
    But it leaves the shopping cart on mobile very ugly.

    What is the solution? How could it work for over a year, but not anymore?

    Avatar: Justin
    Luca Rossi
    Support staff
    March 22, 2025 at 10:34

    Hi @infomrprod,

    We highly encourage you to share your suggestion on our Taskboard at https://www.8theme.com/taskboard/. If your idea garners sufficient support from other customers, our development team will carefully evaluate the possibility of including it in a future update.

    For any additional customizations beyond the default functionalities, we kindly invite you to submit a request through our Customization Panel at https://www.8theme.com/account/#etheme_customization_panel. Please note that customization services are subject to additional charges.

    Should you have any further questions or require assistance, please do not hesitate to contact us.

    Best Regards,
    8Theme’s Team

  • Viewing 18 results - 1 through 18 (of 18 total)

The issue related to '‘The product’s discount price is not visible in the shopping cart.’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.