Conitnue shopping php ( please confirm it doenst effect something else )

This topic has 7 replies, 2 voices, and was last updated 4 months ago ago by Plethora

  • Avatar: Plethora
    Plethora
    Participant
    August 11, 2025 at 14:42

    i need in mini cart the option of continue shopping, please confirm the code is correct to not effect any other function in site.

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 11, 2025 at 16:43

    Hello @Plethora,

    Thank you for reaching out.

    Please note that we do not offer customization services through our support forum. However, based on the code you shared, everything appears to be functioning correctly without any noticeable issues.

    To clarify, the first part of your code is responsible for adding an extra button, while the section labeled “Add robust JS in footer so it runs even for AJAX-inserted mini carts” serves a different purpose. In our opinion, this additional code is not essential.

    As a suggestion, you may consider improving the URL of your custom button by using the following format:

    get_permalink(wc_get_page_id('shop'))

    With this URL adjustment, your button code would look like this:

    function custom_widget_cart_continue_shopping() {
    echo '<a href="'.get_permalink(wc_get_page_id('shop')).'" class="button btn-checkout wc-forward continue-shopping-btn">' . esc_html__( 'Continue Shopping', 'your-text-domain' ) .'</a>';
    }

    This will ensure that the “Continue Shopping” button redirects users to the shop page, and no additional scripts will be required for this functionality.

    Please keep in mind that while we do not provide customization services, we are happy to offer suggestions to help you avoid unnecessary code on each page.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: Plethora
    Plethora
    Participant
    August 12, 2025 at 12:41

    The goal is to click the continue shopping button. And let the mini cart close. please review the code below.

    Also, in the mini cart, I am unable to revert the Arabic language of the view cart text. please check the screenshot.

    I appreciate the support

    Please contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 12, 2025 at 16:06

    Hello @Plethora,

    Thank you for reaching out to us.

    Unfortunately, the customization you are requesting falls outside the scope of our basic support services. As such, we are unable to provide improvements or modifications to your code.

    From our perspective, the code you have developed appears to be well-structured; however, its effectiveness may vary depending on your specific use cases.

    If you require assistance with custom development, we kindly recommend submitting a request through the customization section on your account page at https://www.8theme.com/account/. For any other support-related inquiries, please feel free to open a separate topic.

    We appreciate your understanding.

    Best regards,
    The 8Theme Team

    Avatar: Plethora
    Plethora
    Participant
    August 13, 2025 at 07:50

    can you assist for the screenshot attahed?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 13, 2025 at 08:53

    Hello @Plethora,

    Thank you for your message.

    The text you are requesting a translation for has been added using your custom snippet from your customization. In this case, we recommend reviewing the process for translating strings added via child theme files. You can find detailed guidance at the following link: https://localise.biz/wordpress/plugin/child-themes#xgettext.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: Plethora
    Plethora
    Participant
    August 14, 2025 at 06:43

    Thanks for the support! My topic “conitnue shopping php ( please confirm it doenst effect something else )” has been successfully resolved.

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

The issue related to '‘conitnue shopping php ( please confirm it doenst effect something else )’' 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.