Jump to content

Custom Shop Pages

Recommended Posts

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...
20 hours ago, rainbowblessings222 said:

https://rainbowblessingsmagicmarket.com/shop
 

it’s the section right below “shipping included in prices” 

Thank you!

You mean all products under "shipping icluded in prices"?

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

Add this to Settings > Advanced > Code Injection > Footer

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://d1j8mu9lowy9zf.cloudfront.net/twcsl/0.1d19/twcsl.js"></script>

<script>

  $( ( ) => {
  
    /*
    
      created by @creedon Squarespace Forum
      
      */
      
    if ( twcsl.storePage.urlSlug != '/shop' ) return; // bail if not main page
    
    $( 'body' ).addClass ( 't-shop' );
    
    } );
    
  </script>
  <style>
body.t-shop [data-section-id="6433e67746bed740fe3907e0"] {
    display: none !important;
}
</style>

 

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
8 hours ago, tuanphan said:

Add this to Settings > Advanced > Code Injection > Footer

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://d1j8mu9lowy9zf.cloudfront.net/twcsl/0.1d19/twcsl.js"></script>

<script>

  $( ( ) => {
  
    /*
    
      created by @creedon Squarespace Forum
      
      */
      
    if ( twcsl.storePage.urlSlug != '/shop' ) return; // bail if not main page
    
    $( 'body' ).addClass ( 't-shop' );
    
    } );
    
  </script>
  <style>
body.t-shop [data-section-id="6433e67746bed740fe3907e0"] {
    display: none !important;
}
</style>

 

Thank you. That removed it on all shop pages. How do I keep it for my main shop page but not on the rest of the category pages? 

Link to comment
On 4/29/2023 at 11:10 PM, rainbowblessings222 said:

Thank you. That removed it on all shop pages. How do I keep it for my main shop page but not on the rest of the category pages? 

Can you remove these lines only? We will test code again

image.thumb.png.ffb81a1f9360af060b3ea8a4183da80e.png

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
  • 5 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.