Jump to content

codefordummies

Member
  • Posts

    80
  • Joined

  • Last visited

Posts posted by codefordummies

  1. Site URL: http://www.terroir-imports.com/produits

    Hi there!

    I am trying to add the "Limited availability" label to my store front, but I was wondering if anyone knew how to create a bilingual version. I know that if I go in my Commerce > Product Status > Limited availability, I have the option to personalize the message. However, I want to avoir having t0 write : Only 2 available/ Seulement 2 disponibles (which also does not fit in the 30 characters that we are allotted). As you can see, it is not very aesthetically pleasing.

    @creedon would you have any ideas?

    Thank you 🙂

  2. 2 hours ago, creedon said:

    That is pretty much it. Make sure you put the cropped image first in the product detail and also the setting in Styles is set to show the alternate image.

    Of course you can test all this out before committing to add all the product images.

    Let us know how it goes.

    Thank you so much for helping me figure all of this out 🙏🏼 it is really appreciated! I'll let you know if I have any subsequent issues 😄

  3. 19 hours ago, creedon said:

    OK. The reason the tweak is not there is because the PRODUCTS DETAILS, Position tweak is set to Overlay.

    1191664195_ScreenShot2022-01-03at1_31_43PM.png.0078b97e02c10e5fc427f6b8334a4fe1.png

    If it is set to Under then the Item Hover shows.

    Of course changing the Position setting changes the layout of the items in the product grid.

    I am willing to change the settings to position under! 

    After doing that I just have to add the cropped image to the individual products?

  4. 1 minute ago, creedon said:

    I'm heavy on the warnings because I've seen folks in the forum who changed it not understanding the consequences and they were sad.

    In the full settings listing it would normally be in layout section.

    558538877_ScreenShot2022-01-03at11_44_07AM.png.475bac3204701985aa2c42216661166b.png

    Did you type in hover in the search? I've sometimes seen things not be listed and then show up using the search field.

    It could also could not really be there.

    It's been awhile since I worked in developer mode but I'm wondering if the tweak was removed to achieve another effect or prevent an issue with one?

    Even when I begin to write "hover" nothing appears unfortunately!

  5. 5 minutes ago, creedon said:

    The first thing is to hunt down that hover setting, if it is available. I notice that your site is not reporting a template when I use my code for telling me that info.

    This info may be at Home > Help. What does it say?

    1047170303_ScreenShot2022-01-03at10_52_49AM.thumb.png.a2ead79b7847b8af1b5699d623352c26.png

    What is the template for your site? Is your site in Developer Mode? DO NOT change the Developer Mode setting or bad things can happen. You can loose your whole site.

    This is what I have as a site:

    image.png.c743d8f9a4bd6c184c0d46b2dbd13580.png

    and I do think that I am on developer mode..... Is there anyway of knowing what will be lost if I change it back 😩?

  6. 2 minutes ago, creedon said:

    I think my idea can still work for your needs with a few settings changes.

    Here is what I'm seeing on my site.

     

     I didn't fine tune all the settings you have but the basic effect is there.

    The critical bit to set the item hover behaviour correctly.

    1367966810_ScreenShot2022-01-03at10_35_02AM.png.d75fd5b99f8889c22815bcd5dec393ef.png

    Do you want to give that a go on one product?

    Let us know how it goes.

    @creedon I'm willing to give it a try! However, I dont seem to see the "item hover behaviour" in my settings... Any how, what should be my next steps for now 🙂

  7. 1 minute ago, creedon said:

    That crossed my mind. I assume that is because you are using the quick view? I didn't test that variation.

    No need to change the aspect ratio on your site. I can do that on my test site and see what the ramifications are.

    I'm knocking off for the night. Please bump this thread in several days if I don't get back to you.

    In the mean time if anyone else has a solution, please feel free.

    Excellent! Thanks @creedon I will definitely follow up if necessary. Really appreciate you looking into this 🙏🏼😇

  8. 8 minutes ago, creedon said:

    At this point I think the os/browser info is a red herring as the effect was not active so I couldn't see the issue in action.

    I'd like to suggest a different approach to what I think you are trying to accomplish.

    I'm guessing that showing full pictures of bottles on the product grid is not the best use of the space available. Lots of space spent on bottle tops and bottoms that don't tell the customer anything. You want to focus on the label. Glass doesn't sell wine, labels do! OK glass is important too but not as far as informing the customer of what they are getting into. 🙂

    Edit the images of the bottles and crop the images down to the labels. Save those label images as new images. Upload them to each product. Make the label image the first image. Then your product grid will feature the image label prominently.

    1237767622_ScreenShot2022-01-02at8_42_09PM.thumb.png.59f0e830d1a2e090afa02dc1be41109d.png

     

    535755042_ScreenShot2022-01-02at8_42_46PM.png.f7e9fd43102ab74a8ee2ed0eec356f01.png

    Do you think that would work for you?

    That seems reasonably easy! I'm gonna give it a shot! Thank you @creedon 🙏 

  9. Site URL: https://www.terroir-imports.com/products.com

    Hi there!

    I am looking to change the focal-point of my images so that you can only see the product labels in the e-commerce. However, despite changing the aspect ratio to the desired 2.40 Anamorphic widescreen and adjusting the focal-point, the image is still not displaying as desired.

    Here is what I get:

    225878167_ScreenShot2021-12-30at2_02_21PM.thumb.png.bcc248a5b6a58d844b4c4745229690dc.png

    Any chance someone can help me out with this? @creedon, any tips 🙂 ?

     

    Thank you!

  10. Site URL: http://www.terroir-imports.com

    Hi everyone! 

    Does anyone know how to make multiple promotional pop-ups that open on different pages? Currently I have the promotional pop-up enabled so that when a new client goes to my website it prompts the client to choose to visit the French or English site. However, I would like to add another promotional pop-up that would only appear in both of my online stores (English and French).

    Any idea on how to do this? Thanks 🙂

     

    English Online store

    French Online Store

  11. 1 minute ago, creedon said:

    Two ways!

    The escape character \ (backslash) says ignore the single quote character special meaning and treat is as a regular character.

    content : ' Frais d\'Agence';

    Use double quotes. Both single and double quotes are used to tell the software that this is the text I want to display between the quotes. So because we are using double quotes the single quote loses it's special meaning when within the double quotes. And you can flip that around. If you need to include a double quote in your display text then surround with singles.

    content : " Frais d'Agence";

    Probably more than you wanted to know but there ya go.

    Let us know how it goes.

    This is great! Thank you so much! I love learning, so the more info the better! 😄 

  12. On 3/1/2021 at 3:38 PM, creedon said:

    @codefordummies

    Add the following to Store Settings > Advanced > Page Header Code Injection for the store page.

    
    <style>
    
      body.native-currency-code-cad .sqs-money-native:after {
      
        content : ' Agency Fees';
        
        }
        
      </style>

    Let us know how it goes.

    @creedon This worked perfectly! Any idea how I could integrate "Frais d'Agence" in this code? When I add the apostrophe it cuts the commande. Thanks 🙂

  13. 14 hours ago, creedon said:

    Add the following Design > Custom CSS.

    
    #cart [ data-test="continue-shopping-link" ] span {
    
      text-decoration: underline;
      
      }

    Let us know how it goes.

    Hey @creedon

    When I add this to the CSS the french version of my text message in French disappears. Any idea what could be causing this?

    Thanks, 

    Michelle

  14. 1 hour ago, creedon said:

    Remove or comment out the previous CSS related to changing the empty cart message.

    Add the following to Design > Custom CSS.

    
    /* english/french empty cart message */
    
    #cart .empty-message {
    
      display: inline-block;
      
      }
    
    #cart .empty-message [data-test="continue-shopping-link"]:after {
    
      content: '\00A0';
      
      }
    
    #cart .empty-message:last-child:before {
    
      content: '| ';
      
      }

    Add the following to Settings > Advanced > Code Injection > HEADER. 

    
    <script src="//ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

    Add the following to Settings > Advanced > Code Injection > FOOTER.

    
    <script>
    
      $( ( ) => {
      
        /* english/french empty cart message */
        
        let $e = $( '#cart' );
        
        if ( ! $e.length ) return;
        
        $e = $( '#cart .empty-message' );
        
        let $c = $e.clone ( )
        
          .find ( 'span:first' )
          
            .html ( 'Votre panier est vide.' )
            
            .end ( )
            
          .find ( 'a' )
          
            .attr ( 'href', 'https://www.terroir-imports.com/produits' )
            
            .find ( 'span' )
            
              .html ( 'Continuez à magasiner' )
              
              .end ( )
              
            .end ( );
            
        $e.after ( $c );
        
        } );
        
      </script>

    Looks like...

    201490301_ScreenShot2020-10-26at1_08_40PM.png.4bfab8928218d6c5807d7c41752b7040.png

    Let us know how it goes.

    This works perfectly @creedon! Any chance I could underline the "Continue Shopping"/"Continuez à magasiner" part?

    Thank you!! 🙂

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