Jump to content

JoonasJoonas

Member
  • Posts

    7
  • Joined

  • Last visited

Posts posted by JoonasJoonas

  1. 9 hours ago, tuanphan said:

    Try adding to Settings > Advanced > Code Injection > Footer

    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
    <script>
      $(document).ready(function() { 
    		$(".product-price").html(function() { 
              return $(this).html().replace("from", "new from");  
        });
    	});
    </script>

     

    Thank you for everything. Now I got everything workin!

     

  2. On 1/19/2022 at 3:24 PM, tuanphan said:

    It looks like you figured it out?

    With item, subtotal, try this (Design > Custom CSS)

    .cart-item-list-labels>span.DdVb8_w2u:first-child span {
        visibility: hidden;
    }
    .cart-item-list-labels>span.DdVb8_w2u:first-child span:before {
        visibility: visible;
        content: "new item";
    }
    span._WVtnf5LN span {
        visibility: hidden;
    }
    span._WVtnf5LN span:before {
        visibility: visible;
        content: "new subtotal";
    }

     

    Thank you!

     

    Everything else is now in order, except I still need to replace the FROM text. Do you @tuanphan have a solution to that?

     

    And thank you!

  3. Hi @tuanphan

    Thank you!

    For some reason the AVAILABLE script does not work with my site. I'm using Squarespace 7.1.

    I put the code to Settings - advanced - code injection and to footer.

    Can you help me? I was also wondering can you change the "from" next to the prices someway?

    Also, the cart page does not seem to change ITEM and SUBTOTAL with your code even though everything else changes.

  4. Site URL: https://ateljeesalo.com/kauppa

    Hi!

    I would like to change couple of things on my website. I know that you can't translate checkout page, but I would like to translate couple other items. Please note that my page is currently under development.

    1) I already found how to translate quantity and how to change Add to shopping cart button, but can you change add to shopping cart button so that it is automatically translated?

    2) I would like to translate "SALE" text.

    3) I would like to translate that "AVAILABLE” text next to the prices.

    3) I managed to change couple of texts on shopping cart, but I would like to still change (or hide) the header SHOPPING CART, change subtotal and Checkout. Also is it possible to change the text that is shown when you click the shopping cart while it is empty.

    Thank you! Help is very much appriciated!

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