Bugs on my custom cart page with elementor

This topic has 6 replies, 3 voices, and was last updated 1 weeks, 5 days ago ago by Andrew Mitchell

  • Avatar: Corrado Zanetti
    Corrado Zanetti
    Participant
    April 17, 2024 at 01:16

    1) In my Cart page i don’t see the “Sales Booster” > Cart / Checkout Progress Bar

    2) Some strings can’t be translated (i installed LocoTranslate and uploaded the .po file like your tutorial – strings appear in the translations but in the cart page they are still in English). Especially: Coupon Code, Clear Shopping Cart, Proceed To Checkout, Continue Shopping, Shopping Cart, Order Status

    I remember that once I imported the translations were correct, now that I changed the cart to elementor it’s all out of whack. Can you restore the original cart from the demo or help me solve the problem?

    Thank you

    Content is visible for topic creator and
    support staff only.
    Files is visible for topic creator and
    support staff only.
    5 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    April 17, 2024 at 07:40

    Hello, @Corrado Zanetti,

    Thank you for contacting us and for using XStore.

    1/ We are pleased to inform you that the issue you reported has been successfully resolved. We kindly ask that you revisit your website after clearing your browser’s cache to see the changes.

    Additionally, we have made enhancements to the cart page using Elementor by incorporating a Progress Bar widget, which serves as a sales booster.

    For your reference, an image has been provided in the private content area.

    2/ We have identified an issue with the Loco Translate plugin concerning the translation of certain text strings. To resolve this, we kindly request that you insert the following code snippet into the functions.php file located within your child theme’s directory:

    function n2t_text_strings( $translated_text, $text, $domain ) {
        switch ( $translated_text ) {
            case 'Clear shopping cart':
                $translated_text = 'Your Text 1';
                break;
            case 'Coupon code':
                $translated_text = 'Your Text 2';
                break;
        }
        return $translated_text;
    }
    add_filter( 'gettext', 'n2t_text_strings', 20, 3 );

    We trust that this adjustment will address the translation discrepancies you have encountered.

    3/ Please rename xstore-it.po ( https://imgur.com/GtHZuOi ) to xstore-it_IT.po, and xstore-core-it.po ( https://imgur.com/u9phqHo ) to xstore-core-it_IT.po.

    We hope this helps.

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

    Warm regards,
    The 8Theme Team

    Content is visible for topic creator and
    support staff only.
    Avatar: Corrado Zanetti
    Corrado Zanetti
    Participant
    April 17, 2024 at 08:18

    Oh perfect, so if I understand correctly, the situation at the moment is this:

    1) fixed (thanks)

    2) This is a fix to properly translate the “Clear Shopping Cart” and “Coupon Code” strings, which don’t work properly with Loco Translate, right?

    3) This is the fix to “fix” and use Loco Translate for all other strings.

    After fixing everything with Loco Translate, can I disable the plugin or should it stay active?

    Thank you very much

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    April 17, 2024 at 08:30

    Hello, @Corrado Zanetti,

    Thank you for your response.

    1/ You are welcome!

    2/ Yes, you are right.

    3/ Yes, you are right.

    4/ You can deactivate the loco translate plugin, After fixing everything with Loco Translate.

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

    Warm regards,
    The 8Theme Team

    Avatar: Corrado Zanetti
    Corrado Zanetti
    Participant
    April 17, 2024 at 09:01

    Super Thanks.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 17, 2024 at 09:02

    Dear Corrado Zanetti,

    In the spirit of gratitude, we want to express our appreciation for your trust in our products. As a valued customer, your experience matters greatly. Would you consider sharing it by giving our theme a deserving 5-star rating on ThemeForest?

    Click here to share your thoughts: https://themeforest.net/downloads

    Being part of our community means a lot, and your feedback contributes immensely.

    Best Regards,
    The 8Theme Team

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

The issue related to '‘Bugs on my custom cart page with elementor’' 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.