Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Change "from price" text


jacobtdb

Question

14 answers to this question

Recommended Posts

  • 0
On 3/19/2020 at 5:18 PM, paul2009 said:

Please provide a little more information. It will help us if you include a working link to the page and explain what you want to change about the text "from". For example, is it the size, the font or do you want to translate the word?

To translate the word :-)

Link to comment
  • 0
On 12/3/2020 at 4:23 PM, Mr-WOODLVING said:

I have  similar problem. I want to change "from 445.00" to "fra 445.00" It is basically the same just in Danish.

 

If you share link to a product, we can check easier

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 0
On 12/10/2020 at 8:27 PM, jacobtdb said:

Add to Home > 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() {  
		$("#productDetails .product-price").html(function() { 
          return $(this).html().replace("from", "new text");  
    });
	});
</script>

Can you share link to a product?

On 1/16/2021 at 12:59 AM, DavidHortvik said:

Hi, I just came across the same thing. I would like to translate the word "from " price on my websites as well. On template 7.0.

Have you had luck and solved this?

Thanks, David

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 0
On 1/18/2021 at 3:36 PM, DavidHortvik said:

Hi, please check https://www.ekustik.cz/katalog/absorber-woody-kid

My site is in Czech language and the "from" is the last big visible thing in english:

image.png.fc610242193a489020e9b7199bc590e6.png

 

Btw, do you think the "select" could be changed too? Either to translate it or hide it.

Thank you!

 

 

With form, add to Design > Custom CSS

.product-price {
    visibility: hidden;
}
.product-price * {
    visibility: visible;
    position: absolute;
    margin-left: -50px;
}

With select, try this guide.

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 0

Hi, thanks, this works partially. 

When I choose different option of the product, it then hides the whole price. I assume that it's because the price of the variant is not "from price" but the final price. And by moving it 50px to the left I cover it. 

It's interesting how there is just no way to simply change the word 'from' to any other word I would like...

The second option to remove "select" works only on 7.1, so that's a bummer.

Anyways, thanks for the help 🙂

Link to comment
  • 0
On 1/18/2021 at 7:36 AM, tuanphan said:

Add to Home > 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() {  
		$("#productDetails .product-price").html(function() { 
          return $(this).html().replace("from", "new text");  
    });
	});
</script>

Can you share link to a product?

 

Thanks it works great! :-)

Also how can i change the text "from" on pages like here ? https://www.truenorth-designs.dk/hjemmearbejdspladser

Its just under the Product Title

Best regards
Jacob

Link to comment
  • 0
37 minutes ago, jacobtdb said:

Thanks it works great! :-)

Also how can i change the text "from" on pages like here ? https://www.truenorth-designs.dk/hjemmearbejdspladser

Its just under the Product Title

Best regards
Jacob

Just found a code that solved this problem - exchange 'fra' with your own text. Add this to Home > Settings > Advanced > Code Injection > Footer

<script>
$('.product-price').each(function() {
   var text = $(this).text();
   $(this).text(text.replace('from', 'fra'));
});
</script>

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...