carrie1 Posted July 7, 2020 Share Posted July 7, 2020 Site URL: https://www.skelafoods.com Hey there! Wondering if anyone knows how to add a 'Continue Shopping' button to the Shopping cart when there are existing products in it? I'm using the 'Tremont' template. site: www.skelafoods.com Passcode: foods The page is actually hidden as I'm currently developing it and we are going live asap...so the store page link is www.skelafoods.com/store-2 in case you need to add products to the cart to check. THANK YOU! Link to comment
retroelectrical Posted July 20, 2020 Share Posted July 20, 2020 Did you figure this out? I can't see any products to add to the cart to find out. I have the same problem. Link to comment
N2020 Posted October 20, 2020 Share Posted October 20, 2020 Did you figure this out? I have the same problem. Thanks Link to comment
tuanphan Posted October 21, 2020 Share Posted October 21, 2020 Do you have an example? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
BethanWright Posted October 25, 2020 Share Posted October 25, 2020 Saw an old post sharing how to with code injection but I can't seem to access page settings for cart page to do the code injection. Any suggestions? Link to comment
tuanphan Posted October 25, 2020 Share Posted October 25, 2020 6 hours ago, BethanWright said: Saw an old post sharing how to with code injection but I can't seem to access page settings for cart page to do the code injection. Any suggestions? Can you share link to that post? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
neile Posted November 9, 2020 Share Posted November 9, 2020 Carrie, I've seen many posts on this and no solid answers. I checked with CS and the answer is that it is not possible to have the "Continue Shopping" button show up when there are items in the cart, which is completely inefficient. The agent said she would submit it to the Squarespace developers as a feature request. Our best bet is for everyone to shoot an email to customer support asking to add this feature. The more requests they receive on it, the more they'll consider it necessary. Please shoot them an email so we can get this added sooner than later. Cheers! Link to comment
paul2009 Posted April 15, 2021 Share Posted April 15, 2021 There's a solution here, available as a low cost add-on that will add a Continue Shopping button to the Cart: Cart UX extension for Squarespace Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Amsterixe Posted June 5, 2021 Share Posted June 5, 2021 I have the same problem. I have a Om template on Squarespace 7.0 Link to comment
tuanphan Posted June 7, 2021 Share Posted June 7, 2021 On 6/5/2021 at 6:32 PM, Amsterixe said: I have the same problem. I have a Om template on Squarespace 7.0 Can you share link to your site? We can help easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
creedon Posted June 7, 2021 Share Posted June 7, 2021 @Amsterixe Back in November I did a version that replicates the text version SS does for an empty cart, for a cart with items. I've freshened it up. Add the following to Settings > Advanced > Code Injection > HEADER. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> Add the following to Settings > Advanced > Code Injection > FOOTER. <script> $( ( ) => { /* add continue shopping message when cart has items Version : 0.1d1 SS Versions : 7.0, 7.1 Dependancies : jQuery By : Thomas Creedon < http://www.tomsWeb.consulting/ > */ /* the following values are optional, if left empty default values will be provided. if the values have single quotes in them put a backslash before the single quotes. example: it's becomes it\'s */ let notEmptyMessage = ''; let continueShoppingLinkText = ''; // do not change anything below, there be the borg here if ( location.pathname != '/cart' ) return; // bail if not cart if ( $( '.empty-message' ).length ) return; // bail if empty const selector = '[data-test=remove-item]'; let continueShoppingLinkUrl = Static.SQUARESPACE_CONTEXT.websiteSettings .storeSettings.continueShoppingLinkUrl if ( ! continueShoppingLinkText ) continueShoppingLinkText = 'Continue Shopping'; if ( ! notEmptyMessage ) notEmptyMessage = 'You have something in your shopping cart.'; if ( continueShoppingLinkUrl != '/' ) continueShoppingLinkUrl = '/' + continueShoppingLinkUrl; $( '<div class="not-empty-message">' + '<span>' + notEmptyMessage + '</span> ' + // space after the closing span '<a data-test="continue-shopping-link" href="' + continueShoppingLinkUrl + '">' + '<span>' + continueShoppingLinkText + '</span>' + '</a>' + '</div>' ) .insertAfter ( '.cart-title' ); $( document ).on ( 'click', selector, function ( ) { if ( $( selector ).length > 1 ) return; // bail if more than one $( '.not-empty-message' ).remove ( ); $( document ).off ( 'click', selector ); } ); } ); </script> Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
wildbayseafoods Posted June 8, 2021 Share Posted June 8, 2021 22 hours ago, creedon said: @Amsterixe Back in November I did a version that replicates the text version SS does for an empty cart, for a cart with items. I've freshened it up. Add the following to Settings > Advanced > Code Injection > HEADER. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> Add the following to Settings > Advanced > Code Injection > FOOTER. <script> $( ( ) => { /* add continue shopping message when cart has items Version : 0.1d1 SS Versions : 7.0, 7.1 Dependancies : jQuery By : Thomas Creedon < http://www.tomsWeb.consulting/ > */ /* the following values are optional, if left empty default values will be provided. if the values have single quotes in them put a backslash before the single quotes. example: it's becomes it\'s */ let notEmptyMessage = ''; let continueShoppingLinkText = ''; // do not change anything below, there be the borg here if ( location.pathname != '/cart' ) return; // bail if not cart if ( $( '.empty-message' ).length ) return; // bail if empty const selector = '[data-test=remove-item]'; let continueShoppingLinkUrl = Static.SQUARESPACE_CONTEXT.websiteSettings .storeSettings.continueShoppingLinkUrl if ( ! continueShoppingLinkText ) continueShoppingLinkText = 'Continue Shopping'; if ( ! notEmptyMessage ) notEmptyMessage = 'You have something in your shopping cart.'; if ( continueShoppingLinkUrl != '/' ) continueShoppingLinkUrl = '/' + continueShoppingLinkUrl; $( '<div class="not-empty-message">' + '<span>' + notEmptyMessage + '</span> ' + // space after the closing span '<a data-test="continue-shopping-link" href="' + continueShoppingLinkUrl + '">' + '<span>' + continueShoppingLinkText + '</span>' + '</a>' + '</div>' ) .insertAfter ( '.cart-title' ); $( document ).on ( 'click', selector, function ( ) { if ( $( selector ).length > 1 ) return; // bail if more than one $( '.not-empty-message' ).remove ( ); $( document ).off ( 'click', selector ); } ); } ); </script> Let us know how it goes. This worked great for me. Thank you!! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.