#136516 Change URL on Continue shopping button

Landing Forums JupiterX WordPress Theme Change URL on Continue shopping button

Viewing 25 posts - 1 through 25 (of 25 total)
  • Author
    Posts
  • pm.vicalvi-afa212d0

    <div id=”:1l8″ class=”Ar Au Ao”>
    <div id=”:1l4″ class=”Am Al editable LW-avf tS-tW tS-tY” tabindex=”1″ role=”textbox” contenteditable=”true” spellcheck=”false” aria-label=”Corps du message” aria-multiline=”true”>
    <div dir=”ltr” data-smartmail=”gmail_signature”>
    <div dir=”ltr”>

    Hello Guys,
    I already asked some help regarding this topic.
    I use Jupiter x and the Dictaeus template.
    On my “Delivery & Payment” page, I would like to change the URL link on “Continue shopping” button.
    Actually the link is set up to redirect on the Sample page, which is not my “e shop default page”. I created another one with elementor.
    I already asked some help for the same reason but on my “Cart” page, somebody told me to add this code on Jupiter X Settings and it worked !!!,
    <div><label for=”m_6322321477762185962jupiterx-cp-settings-tracking-codes-before-body”>Tracking Codes Before
    jQuery(document).ready(<wbr />function() {
    jQuery(“.woocommerce-cart .jupiterx-continue-shopping”).<wbr />attr(“href”, “https://www.cafegitane.fr/e-<wbr />shop/“);
    });
    jQuery(document).ready(<wbr />function() {
    jQuery(“.woocommerce-checkout .jupiterx-continue-shopping”).<wbr />attr(“href”, “https://www.cafegitane.fr/e-<wbr />shop/“);

    I tried to copy and change the .woocommerce-checkout by something else (ex : delivery-page) but it doesn’t work.

    Thank you very much for your help</label></div>
    </div>
    </div>
    </div>
    </div>

    Alexander Hutsol Support Team

    Hello,

    Please provide us with wp-admin login details to your site in the private reply https://prnt.sc/qr3w3e to check the issue.

    Thank you.

    Regards.

    pm.vicalvi-afa212d0

    Hello,
    Thank you for your reply, I’m sorry but I don’t want to share my login details even in private.
    Please find attached the button I want to change.
    How can I change the URL link on this button please ?
    Actually the redirection is set up on the sample page, I want to  change it.

    Amir Rather Support Team

    Hello There

    You could try the below JS script to Jupiter X > Control Panel > Settings > Tracking Codes Before </body> Tag

    jQuery("a.button.jupiterx-continue-shopping").attr("href","new URL");

    Regards

    pm.vicalvi-afa212d0

    Thank you for your reply but it doesn’t work.
    Somebody told me to add this code for the Cart page :
    jQuery(document).ready(function() {
    jQuery(“.woocommerce-cart .jupiterx-continue-shopping”).attr(“href”, “https://www.cafegitane.fr/e-shop/&#8221;);
    });
    It works, but I still have the issue on my Delivery & Payment page. Do you know the code for this page similar to woocommerce-cart ?

    Amir Rather Support Team

    Hi there

    If you could remove the Coming Soon mode for some time so we can see the website and provide the correct working JS code.

    Is that possible?

    Regards

    pm.vicalvi-afa212d0

    Hello,
    Yes OK no problem, could you just let me know when it’s done please ?

    pm.vicalvi-afa212d0

    You can try to add this product on your cart : https://www.cafegitane.fr/product/necklace-agathe/
    Then you’ll see that the “continue shopping button” on the cart page is well redirected to “eshop” thanks to the Jquery code but when you go to the “delivery page” or even when you delete all articles from cart, the button is set up to go on sample page which is not my e shop page. I didn’t find any way to modify this setting.
    I need to change https://www.cafegitane.fr/sample-page/ by https://www.cafegitane.fr/eshop.
    Thank you for your help….

    Amir Rather Support Team

    Hello there!

    When I add the below JS code to the browser console it changes the link here https://take.ms/xc1Bu

    jQuery(document).ready(function() {
    jQuery('a.button.jupiterx-continue-shopping').attr('href','https://www.cafegitane.fr/e-shop/'); 
    jQuery('a.button.wc-backward').attr('href','https://www.cafegitane.fr/e-shop/'); 
    });

    Could you please try these and let me know?

    pm.vicalvi-afa212d0

    Should i use this JS code Before <body> tag ? If yes, I tried and it doesn’t work.
    I’m sorry I’m pretty limited with JS code.

    Amir Rather Support Team

    Hi there

    Yes, Put everything in one script tag and then check.

    Regards

    pm.vicalvi-afa212d0

    So it works on “Cart” page but not on “Delivery & Payment page”…

    Amir Rather Support Team

    Try and replace the Continue Shooping JS part with this:

    jQuery('.woocommerce-checkout a.button.jupiterx-continue-shopping').attr('href','https://www.cafegitane.fr/e-shop/');

    pm.vicalvi-afa212d0

    Nope sorry, it doesn’t work ūüôĀ

    Amir Rather Support Team

    Could please show me the complete code you added in there?

    Regards

    pm.vicalvi-afa212d0

    One script tag with :
    jQuery(document).ready(function() {
    jQuery(‘.woocommerce-checkout a.button.jupiterx-continue-shopping’).attr(‘href’,’https://www.cafegitane.fr/e-shop/&#8217;);
    jQuery(‘a.button.wc-backward’).attr(‘href’,’https://www.cafegitane.fr/e-shop/&#8217;);
    });

    Amir Rather Support Team

    Hi there

    First thing, why do you add #8217 at the end? It should strictly look like this:

    jQuery(document).ready(function() {
    jQuery('.woocommerce-checkout a.button.jupiterx-continue-shopping').attr('href','https://www.cafegitane.fr/e-shop/');
    jQuery('a.button.wc-backward').attr('href','https://www.cafegitane.fr/e-shop/'); 
    });
    pm.vicalvi-afa212d0

    I don’t know how #8217 was added to my previous message but i can assure you that it’s not in my JS code (see attached).
    it doesn’t work sorry…

    Amir Rather Support Team

    In order to do this quickly, I suggest you provide me a temporary login https://wordpress.org/plugins/temporary-login-without-password/ without password(in a private reply).

    Regards

    Private
    pm.vicalvi-afa212d0
    This reply has been marked as private.
    Private
    Amir Rather Support Team
    This reply has been marked as private.
    Private
    pm.vicalvi-afa212d0
    This reply has been marked as private.
    Private
    Amir Rather Support Team
    This reply has been marked as private.
    Private
    pm.vicalvi-afa212d0
    This reply has been marked as private.
    Amir Rather Support Team

    Sure, I don’t need it anymore ūüôā

Viewing 25 posts - 1 through 25 (of 25 total)
You must be logged in to reply to this topic.
Login