1999 Posts in 530 Topics by 433 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » Editing "click to read more" link
Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 748 Views |
-
Editing "click to read more" link

6 July 2010 at 10:14pm Last edited: 8 July 2010 9:12pm
Hi there,
Simple question - I need to edit the "click to read more" link which appears directly after the product description cutoff on the products home page. Cant find this in any of the ecommerce / payment template files. It's the link to the full product description. I need to edit the text on the link.
Cheers
-
Re: Editing "click to read more" link

11 July 2010 at 10:44pm
Hi Ramshackle,
You should find it in ecommerce/templates/Includes/ProductGroupItem.ss
on the latest version its on line 10 you'll see something like <% _t("READMORECONTENT","read more") %>
this is just for multilingual sites, you can just replace that code with what ever you desire! -
Re: Editing "click to read more" link

16 July 2010 at 9:27pm
Hi Bambii7,
That's where I thought initially but changing the text doesn't change the rendered page text - flushed cache etc.. weird, can't find reference to that text anywhere at all in any of the templates, frustrating but not a massive deal. Searched every template file for the word 'click' but no results & it still appears on the products page.. anywhere else it might be?
cheers
-
Re: Editing "click to read more" link

19 July 2010 at 12:43pm
Just to double check, did you also check the includes?
-
Re: Editing "click to read more" link

17 August 2010 at 7:53pm
Yep, checked those also. Its driving me mad. Should be easy but I can't find it!
-
Re: Editing "click to read more" link

23 August 2010 at 4:22pm
Hi guys, note that you'll need to replace the entire tag: <% _t("READMORECONTENT","read more") %>. The "read more" text inside the tag is only used when a translation isn't available, otherwise it uses the text from the active language (probably US). You'll find that text in ecommerce/lang/en_US.php
Jeremy -
Re: Editing "click to read more" link

26 August 2010 at 9:24pm
Thanks alot Jedateach - it was the en_GB.php file
cracked open the bubbles!
And great work all round on the module, helping us mere mortals no end
cheers!
| 748 Views | ||
|
Page:
1
|
Go to Top |



