Enable the Sales Badge option under the Product Price widget product page displays following error

This topic has 11 replies, 3 voices, and was last updated 2 days, 6 hours ago ago by Tony Rodriguez

  • Avatar: BINOD rajak
    BINOD rajak
    Participant
    November 2, 2026 at 12:38

    Dear 8theme Support Team,

    I hope you are doing well.

    I am facing an issue with the Sales Badge option in the Elementor Single Product Template on my WooCommerce website:

    I am using the XStore theme (Version 9.7.11) and XStore Core (Version 5.7.11).

    **Issue Description:**

    When I edit my Elementor Single Product Template and enable the **Sales Badge** option under the Product Price widget (set it to Yes), my product page displays the following error:

    “There has been a critical error on this website.”

    However, when I disable the Sales Badge option (set it to No), the product page works normally again.

    I would appreciate your help in identifying the cause of this issue.

    Could you please check whether this is a compatibility issue with the XStore Product Price widget or a PHP error?

    I would also like to display the percentage discount (for example, 20% OFF or 30% OFF) on my product pages without causing any errors.

    Please guide me on how to fix this issue. If necessary, I can provide screenshots or temporary website access for troubleshooting.

    Thank you for your time and support. I look forward to your response.

    Best regards,
    UPGRADE

    Files is visible for topic creator and
    support staff only.
    10 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    November 2, 2026 at 14:52

    Hello @BINOD rajak,

    Could you please provide temporary wp-admin and FTP access? We will check what can be done to help you.
    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.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Kind regards,
    Jack Richardson
    The 8theme’s team

    Avatar: BINOD rajak
    BINOD rajak
    Participant
    November 3, 2026 at 12:59

    Hello Jack,

    I have shared my website access details in the Private Content section.

    Could you please investigate the Sales Badge option thoroughly and check what is causing the critical error when it is enabled?

    Please take a careful look and help me resolve this issue so that the percentage discount (e.g., 20% OFF or 30% OFF) can be displayed correctly on my product pages.

    Thank you for your support.

    Content is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    November 3, 2026 at 13:11

    Hello @BINOD rajak,
    Thanks for providing us the correct wp-admin access, could you please, also attach us the correct FTP access as we previously asked?

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Kind regards,
    Jack Richardson
    The 8theme’s team

    Avatar: BINOD rajak
    BINOD rajak
    Participant
    November 3, 2026 at 13:36

    Sir, please check.

    Content is visible for topic creator and
    support staff only.
    Avatar: BINOD rajak
    BINOD rajak
    Participant
    November 3, 2026 at 13:45

    Sir, I had left this out; could you please check it?

    Content is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    November 3, 2026 at 14:50

    Hello @BINOD rajak,

    Please check now. We have implemented global changes in our XStore Core plugin files, and these changes will be included in the next theme update.

    Frontend result: https://gyazo.com/74d5ef3551c7cb4d41e84943b8141fc3 (simple on-sale), https://gyazo.com/f95fea88617db28844716154da43bfb3 (variable on-sale), https://gyazo.com/07a45e580c3c70c93c95946771c529b5 (variable regular), https://gyazo.com/689ae1465535280d616245939f0b9090 (simple regular)

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: BINOD rajak
    BINOD rajak
    Participant
    November 3, 2026 at 14:56

    Hello Jack,

    Thank you so much for your excellent support and for fixing the Sales Badge issue on my website.

    I truly appreciate your team’s time, effort, and technical assistance. The issue is now resolved, and everything is working perfectly.

    I have one more question: Can I customize and edit the Sales Badge myself, such as changing its text, design, color, and discount percentage, without causing any errors?

    Thank you once again for your wonderful support!

    Best regards,
    UPGRADE

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    November 3, 2026 at 15:26

    Hello @BINOD rajak,

    You have the requested settings in your widget. Please check on your side: https://gyazo.com/9c3fd886f5d19d4f66872d1c98482eb8.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: BINOD rajak
    BINOD rajak
    Participant
    November 3, 2026 at 15:31

    Thanks for the support! My topic “enable the Sales Badge option under the Product Price widget product page displays following error” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    November 3, 2026 at 15:31

    Dear BINOD rajak,

    It’s great having you in our WordPress & WooCommerce community!

    Every insight you share helps us refine XStore and build tools that empower thousands of online store owners worldwide.

    Together, we grow stronger with every release.

    Topic closed.
    The 8Theme Team

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

The issue related to '‘enable the Sales Badge option under the Product Price widget product page displays following error’' 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.