Jump to content

codefordummies

Member
  • Posts

    80
  • Joined

  • Last visited

Posts posted by codefordummies

  1. 1 hour ago, creedon said:

    #cart .CartTable-itemPrice-XgjsO .CartTable-itemLabel-3zzV1 span:after {      content: ' | Prix';      } #cart .CartTable-itemQuantity-225eT .CartTable-itemLabel-3zzV1:before {      content: 'Case(s) | Caisse(s)';      } #cart .CartTable-itemQuantity-225eT .CartTable-itemLabel-3zzV1 span {   display: none;      } #cart .CartTable-subtotalLabel-3qWE9 span:after {   content: ' | Sous-total';      } #cart .checkout-button:after {   content: ' | Paiement';      }

    This worked wonderfully! Thank you @creedon🤩

  2. 1 minute ago, creedon said:

    I think this one is in the same boat as my previous post. It is dynamic behaviour which needs to be watched with a MutationObserver. MTs basically watch an element for changes and then act upon that change. I've created MTs but as I say it's not just a few lines of code.

    @creedon Gotcha! Thank you anyway 🙂 

  3. Site URL: https://www.terroir-imports.com/produits

    Hi guys, 

    I need some help with some finishing touches for my bilingual website. I seem to encounter some issues, especially when it comes to my shopping cart and checkout page. Here is a list of things I'm looking to do:

    • Shopping cart: throughout my entire website I have chosen to hide either secondary (French) or primary navigation (English) depending on which version of my site clients use. However, when you arrive at the shopping cart, both primary and secondary navigation are displayed. Is there a way of hiding primary navigation when my clients are using the French version of my online store (https://www.terroir-imports.com/produits) and hiding secondary navigation when my clients are using my English version of my online store (https://www.terroir-imports.com/products)?

    291785516_ScreenShot2020-10-25at8_44_35PM.thumb.png.e7e2063ca6c5469fcf001b6f7e2ef6f4.png

     

    • Shopping cart: is there any way of changing the following:
      • "QTY" = Case(s) | Caisse(s)
      • "Price" = Price | Prix
      • "Subtotal" = Subtotal | Sous-total
      • "Checkout" = Checkout | Paiement

    645854898_ScreenShot2020-10-25at8_44_15PM.thumb.png.b0fb7ce52e3e1a92bb0e5e34fe75c602.png

    • Quick view (working link: https://www.terroir-imports.com/produits) : does anyone have a custom code to change "Quick view" to "Aperçu rapide" only on my French site?1665354572_ScreenShot2020-10-25at8_42_56PM.png.3ec7af4ab04c2aa91ce30c6dfc8418cc.png
    • View full item: does anyone have a custom code to change "View full item" to "Plus de détails" only on my French site?
    • Checkout page: is there anyway of modifying the preset text in the checkout page? I would want to make the headers bilingual (ex. Payment | Paiement).
    • Store (working link: https://www.terroir-imports.com/produits/bourgogne-aligot-2018-mark-haisma) : is it possible to change the following button in my online store 
      • "Added to cart" = "Ajouter au panier"
      • "Adding" = "Ajout en cours"
      • "Added!" = "Ajouté!"

    Thanks for your help guys!

    @tuanphan @creedon

  4. 1 hour ago, creedon said:

    .empty-message:before {   content: "Your shopping cart is empty/Votre panier est vide. ";   font-size: 20px;      } .empty-message>span {   display: none;      }

    Hi @creedon

    This works thanks! Is there any way of doing the following:

    "Your shopping cart is empty. Continue shopping | Votre panier est vide. Continuez à magasiner"

    I would like to keep the link for the "Continue shopping" but also to have it in the "Continuez à magasiner" and to underline both of these as to make it evident that it is a link.

    Thank you!

  5. 11 hours ago, creedon said:

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

    
    <style>
    
      .ProductItem-nav {
      
        line-height: 1.5em;
        
        }
        
      .tweak-product-item-nav-pagination-style-previousnext .ProductItem-nav-pagination-link--next .ProductItem-nav-pagination-link-direction,
      .tweak-product-item-nav-pagination-style-previousnext .ProductItem-nav-pagination-link--prev .ProductItem-nav-pagination-link-direction
      
        {
      
        display: none;
        
        }
        
      .tweak-product-item-nav-pagination-style-previousnext .ProductItem-nav-pagination-link--next:after {
      
        content: 'Suivant \0020\203A';
        
        }
        
      .tweak-product-item-nav-pagination-style-previousnext .ProductItem-nav-pagination-link--prev:before {
      
        content: '\2039\0020 Pr\00e9 c\00e9 dent';
        
        }
        
      </style>

    Let us know how it goes.

    This worked out perfectly! Thank you very much @creedon!

  6. On 1/26/2020 at 7:50 AM, tuanphan said:

    add this code to Home > Design > Custom CSS

    
    body#cart h2.cart-title {
        visibility: hidden;
    }
    body#cart h2.cart-title:before {
        content: "Shopping Cart";
        visibility: visible;
        text-transform: capitalize;
    }

    image.thumb.png.4a2b60a958e8fb239410eb18852d53a7.png

    Hi @tuanphan,

    I am looking to change the font in the shopping cart text "your shopping cart is empty". Any idea on how I can achieve this?

    Thanks.

  7. @paul2009 Is there anyway to add "case" next to the numbers 1, 2, 3, etc.? That way in the description you could write that it is in cases of 6, 12, etc.? 

    I seem to be having the same issue and would like to add the word case next to the numbers but cannot find any code that could help me on this matter.

     

    Thanks 🙂

  8. Hi colin.irwin, thanks so much for your answer. For some reason the whole screen is going white? Do you know what can be causing this to happen? I wanted the buttons to fade in after 15seconds so I modified the code you gave me originally but everything goes blank.

    Also is there a way to do the same for the title and description?

    Thanks 🙂 

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