Jump to content

Jackie123

Circle Member
  • Posts

    41
  • Joined

  • Last visited

Posts posted by Jackie123

  1. I'm working on a site that sells flower subscription products.   The goal is to be able to offer bi weekly deliveries for 4 weeks, 8 weeks, or 12 weeks.  Currently I can only specify one renewal date per product.  So I would have to create 4 separate products just to cover the variants for this. Is there a way to set a renewal end period that is variable?  Something that would allow the below for one product...

     

    image.png.3e14b14aadd6d7cc2ba448f00ece0615.png

  2. 9 hours ago, paul2009 said:

    No, this cannot be changed because the checkout page cannot be customised using settings or code. Squarespace prioritise security, reliability, and ease of use, and this restricts the customisation that is possible in critical areas like the checkout.

    Squarespace doesn’t use this forum to track limitations or feature requests so, if you'd like to raise this as a feature request, you are encouraged to contact Squarespace directly by raising a ticket through Squarespace Customer Care

    Did this help? Please give feedback by clicking an icon below  ⬇️

    Thank you @paul2009.  I will do that.  

  3. On 8/29/2022 at 12:18 PM, sjdeeder said:

     

    I found a solution via CSS on YouTube that worked for me. Wanted to share! 


    FOR SQSP 7.0:

    .sqs-gallery-design-strip-slide {
    padding-right:10px;
    margin-left:10px;
    margin-top:0px;
    margin-bottom:0px;
    border-right: 1px solid #dcdcdc;
    }

    FOR SQSP 7.1:

    .gallery-reel-item img {
    padding:10px;
    margin-left:10px;
    margin-top:0px;
    margin-bottom:0px;
    }

    This still crops for me.  This works with no cropping:

    .gallery-reel-item img {
      width: 90% !important;
      height: auto !important;
    }

  4. On 10/16/2020 at 12:26 PM, Bobblehead said:

    Okay, so the issue is that categories must be assigned, as you suggested, by using the existing URL slug for that category. This is completely different than the process for adding tags in the spreadsheet, as plain text is used there. I feel like this is user unfriendly, and needlessly confusing. In any case, for clarity:

    • Tags can be added in the CSV using plain text, with multiple tags requiring commas and a space between them.
    • Categories can be added in the CSV, but entries must match the corresponding URL slug that must exist on the site prior to import. Each category's URL slug is available by going into your product page, clicking on a category, then clicking the gear icon to view settings. Multiple categories can be added using commas and a space between them, and using the slash (/) is not required.

    I feel like this should be made more clear in the documentation. Thanks again for your assistance.

    Thank you for writing the solution so completely!  Just saved me. 

  5. On 10/20/2022 at 1:26 PM, Jackie123 said:

    Ahhhh you're amazing. Thank you for that.  I never would have found it.  The code works perfectly now on the redirect too.  Thank you!! 

    One more thing I'm seeing is that the button does not redirect on the quick view page.  It still adds the product to the cart.  Is the functionality not there for quick view enabled or maybe I did something else wrong.

  6. 57 minutes ago, creedon said:

    It is an issue with your site. A Javascript function window.open has been redefined from a function to HTML.

    2089250287_ScreenShot2022-10-20at11_21_06AM.png.54c1d6809f579dfb3edad6eb848a6141.png

    155581252_ScreenShot2022-10-20at11_21_30AM.png.1e04865857241827a869384d94aa39bb.png

    1023146543_ScreenShot2022-10-20at11_23_26AM.png.bbb34498824b5977c6de1a97cae10814.png

    The following piece of code in a code block is causing an issue.

    <script type="text/javascript">
        var date = new Date(),
        year = date.getFullYear(),
        open = '<p style="text-align: center; font-size: 80%; color: #8C857B;">',
        copy = '© ' + year + ' Rachel Altschuler Art',
        close = '</p>',
        html = open + copy + close;
        document.write(html);
     </script>

    The issue is that your open variable, and others, are already defined in the global space. So you are redefining them.

    <script type="text/javascript">
        const date = new Date(),
        year = date.getFullYear(),
        opn = '<p style="text-align: center; font-size: 80%; color: #8C857B;">',
        cpy = '© ' + year + ' Rachel Altschuler Art',
        cls = '</p>',
        html = opn + cpy + cls;
        document.write(html);
     </script>

    I have a different approach that I've used.

    <p style="text-align: center; font-size: 80%; color: #8C857B;">
    
      © <span id="copyright-year"></span> Rachel Altschuler Art
      
      </p>
    
    <script>
        
      ( ( ) => {
      
        const d = new Date ( );
        
        const element = document.getElementById ( 'copyright-year' );
        
        element.textContent = d.getFullYear ( );
        
        } ) ( );
        
      </script>

    Let us know how it goes.

    Screen Shot 2022-10-18 at 11.08.11 AM.png

    Ahhhh you're amazing. Thank you for that.  I never would have found it.  The code works perfectly now on the redirect too.  Thank you!! 

  7. I am having a similar issue. 

    When I click add to cart on the product page, nothing happens at all. 

    I used the updated code to install referenced in your oct 20 post, added the twcsl.js as a linked page, added the scripts to header code of the site, added scripts to header code of the shop page and updated as instructions say, and added the code block to the product page. 

    I do not want replace the add to cart button, but I just want to have the add to cart button redirect to a specified url. 

    My site is https://www.rachelaltschuler.com/shop-1/p/gertrude password is jackie1

  8. On 3/29/2022 at 7:28 AM, black.marketing said:

    <script> jQuery(document).ready(function($){         function no_bg_loop () {         $('video').prop('loop', false);     }     $(document).ready( no_bg_loop );     $(window).load ( no_bg_loop );     no_bg_loop();     setTimeout(function(){         jQuery('video.x-mejs.has-stack-styles').on('ended', function() {             jQuery(this)[0].pause();         });     },5000); }); </script>

    This is not working on my 7.1 site.  Is this the correct solution?

  9. I'm looking to see if I can create a website for a private member club, working around some of the member area issues.  Its on 7.1. 

    I can not have them access the account panel, and there is no way to disable that. So...  Is there a way with custom coding to display certain info if page password is entered?

    For example, if the page password is entered, display certain hyperlinks.  I want to display a fake menu (I'll use anchor links) if a user has entered the password for a password protected page.   

×
×
  • 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.