Add To cart Button Not Working On Product Detail Page

This topic has 15 replies, 3 voices, and was last updated 14 hours, 23 minutes ago ago by Luca Rossi

  • Avatar: Siddharth
    Siddharth
    Participant
    February 19, 2025 at 06:31

    Hello

    I hope this message finds you well.

    I am writing to report an issue I am experiencing with the “Add to Cart” button on my website. It seems that when clicking the button, nothing happens, and the product is not being added to the cart.

    I have tested the button across different browsers and devices, but the issue persists. Could you please assist me in resolving this? Any guidance or fixes you can provide would be greatly appreciated.

    Thank you in advance for your support. I look forward to your prompt response.

    Best regards,
    Mayur

    Content is visible for topic creator and
    support staff only.
    14 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    February 19, 2025 at 07:43

    Hello, @Siddharth,

    Thank you for contacting us and for using XStore.

    1/ We recommend that you disable all third-party plugins that are not included with XStore https://www.8theme.com/documentation/xstore/plugins/included-plugins/ -After doing so, please clear your browser’s cache and check again. It is possible that one of these additional plugins is causing the issue.

    If the problem persists, we suggest switching to the Parent theme if you are currently using the Child Theme on your site. After clearing the cache, check again. The issue may be due to your custom code in the Child Theme.

    Let us know the results.

    2/ If the issue still persists, please keep all third-party plugins deactivated on your site and grant permission to debug your site, which includes deactivating all third-party plugins and on-site Customization. This will allow us to investigate and assist you accordingly.

    Please note that you should take a complete backup of your site before proceeding.

    In addition, please provide your site’s WP Admin URL and credentials in the private content area of this topic, so that we can look into it further and help you.

    Thank you for your cooperation and we look forward to hearing from you soon.

    Best regards,
    The 8Theme Team.

    Content is visible for topic creator and
    support staff only.
    Avatar: Siddharth
    Siddharth
    Participant
    February 19, 2025 at 07:58

    Hi

    I have share credentials please help me to fix it.

    Content is visible for topic creator and
    support staff only.
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    February 19, 2025 at 08:43

    Hello, @Siddharth,

    Thank you for your response.

    1. During our investigation, we activated the XStore parent theme on your website and did not encounter any issues. It appears that the problem is related to the XStore child theme currently in use.

    We kindly recommend reviewing the customizations made to your child theme with your website developer and requesting their assistance in resolving the issue.

    2. Additionally, we have checked the single product layout using Elementor under **XStore Builders > Single Product Builder** and noticed that you are using a custom “Add to Cart” widget.

    To ensure optimal functionality and avoid any potential issues, we recommend using the **XStore “Add to Cart/Buy Now” button widget** instead.

    We hope this information is helpful. Please feel free to reach out if you need any further assistance.

    **Best regards,**
    8Theme Team

    Content is visible for topic creator and
    support staff only.
    Avatar: Siddharth
    Siddharth
    Participant
    February 19, 2025 at 08:46

    Hi

    Can you help me to fix as per the layout was there before currently I am looking my website layout has been changed I want same layout where add to cart should work.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    February 19, 2025 at 08:57

    Hello, @Siddharth,

    Thank you for your response.

    We have reactivated the XStore child theme on your website, as previously done. However, we have noticed that the “Add to Cart” button is not functioning due to additional code customizations made within the child theme. As mentioned in our previous message, this customization is the cause of the issue.

    Please note that custom code modifications within the child theme fall outside the scope of our basic support. We kindly recommend reaching out to your website developer to address and resolve this matter.

    For confirmation, we have tested the XStore parent theme, and the “Add to Cart” button functions correctly when it is activated.

    We hope this clarifies the situation. Should you have any further questions, please feel free to reach out.

    **Best regards,**
    8Theme Team

    Avatar: Siddharth
    Siddharth
    Participant
    February 19, 2025 at 08:59

    Hi

    Thanks for your support i will look into this and will update you if any help is required from your side.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    February 19, 2025 at 09:01

    Hello, @Siddharth,

    Thank you for your message. We appreciate your support and will review the matter. Please feel free to reach out if you require any assistance from our side.

    Best regards,
    8Theme’s Team

    Avatar: Siddharth
    Siddharth
    Participant
    February 19, 2025 at 09:11

    Hi

    I switched to the parent theme and checked still add to cart not working can you please look into it? also can you screen record and show what you have done that it was working and its due to custom code only not any plugin and theme?

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    February 19, 2025 at 11:19

    Hello, @Siddharth,

    Thank you for your response.

    We sincerely apologize for any inconvenience caused. Upon reviewing your website, we have identified that the issue is related to the custom “Add to Cart” widget.

    To verify this, we tested the **XStore Add to Cart/Buy Now Button** widget and found that it functions correctly without any issues. Therefore, we kindly recommend using the **XStore Add to Cart/Buy Now Button** widget as a solution to your issue.

    For your reference, we have recorded a video demonstrating our findings. You can find the video link in the private content area.

    Should you require any further assistance, please do not hesitate to reach out.

    **Best regards,**
    **8Theme Team**

    Content is visible for topic creator and
    support staff only.
    Avatar: Siddharth
    Siddharth
    Participant
    February 19, 2025 at 11:35

    Hi

    I want add to cart to work with current button and layout no layout change I want I am attaching screenshot I want to use this layout only

    Layout:https://sintex.asot.in/wp-content/uploads/2025/02/Sntx_Products_WaterStorageTank_Details.png

    Avatar: Justin
    Luca Rossi
    Support staff
    February 19, 2025 at 13:40

    Hi @Siddharth,

    Please find and remove this custom CSS codes.

    .custom-variations, .single_add_to_cart_button, .woocommerce-variation-availability, .reset_variations, .woocommerce-variation-price {
        display: none;
    }
    

    It removes the add to cart button.

    Best regards,
    8Theme’s Team

    Avatar: Siddharth
    Siddharth
    Participant
    February 19, 2025 at 13:57

    Hi

    I tried to remove but it’s not matching my design why have you referred to my design?

    I want same to same design refer to this: https://sintex.asot.in/wp-content/uploads/2025/02/Sntx_Products_WaterStorageTank_Details.png

    Avatar: Siddharth
    Siddharth
    Participant
    February 20, 2025 at 06:16

    Hi

    Any Update on this?

    Avatar: Justin
    Luca Rossi
    Support staff
    February 20, 2025 at 08:10

    Hi @Siddharth,

    To make the add to cart form exactly same as your screenshot would require a lot of customization codes.

    Please note that any further customization falls beyond the scope of our standard support services. If you require additional modifications, we kindly invite you to submit a request through our (https://www.8theme.com/account/#etheme_customization_panel). Kindly be advised that customization services may incur additional charges.

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

    Best regards,
    8Theme Team

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

You must be logged in to reply to this topic.Log in/Sign up

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