Jump to content

new to prestashop can't find where to modify aspect of a page


Recommended Posts

I'm currently a PS newbie and am learning how it works. I've come across a couple of things which I don't know where they come from and need a pointer.

 

When you view a list of articles using the default theme the description is cut off and is followed by '...' -  where does this get done? Is it in one of the product*.tpl files in the theme or does it come from an option somewhere or another? I've been digging but can't find anything.

 

When using the defaul theme, and many other themes, there is a band of 'modules' near the bottom , just above the footer, which contain (I'm translating here) 'money back', 'change in shop', 'free transport'.

Where do these modules come from? They don't appear to be hard coded in the theme but they also don't appear to be modules.

 

In both cases I just need a pointer of where to look and I can take it from there.

Link to comment
Share on other sites

you're probably talking about product-list.tpl file

you can find there code: {$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}

 

 

and you're talking about truncate modifier: |truncate:360:'...'

in this case, truncate modifier cuts description after 360 chats and adds the '...'


I'm currently a PS newbie and am learning how it works. I've come across a couple of things which I don't know where they come from and need a pointer.

 

When you view a list of articles using the default theme the description is cut off and is followed by '...' -  where does this get done? Is it in one of the product*.tpl files in the theme or does it come from an option somewhere or another? I've been digging but can't find anything.

 

When using the defaul theme, and many other themes, there is a band of 'modules' near the bottom , just above the footer, which contain (I'm translating here) 'money back', 'change in shop', 'free transport'.

Where do these modules come from? They don't appear to be hard coded in the theme but they also don't appear to be modules.

 

In both cases I just need a pointer of where to look and I can take it from there.

 

 

it's a block reassurance module, go to modules > modules tab in your bo and search for "reassurance" module, you can edit it there.

Link to comment
Share on other sites

  • 2 weeks later...

thanks for the quick response. Unfortunately I wasn't able to get back to that issue to try it out until now. I'm not sure why I didn't see it when I was digging through the tpl files in the template. It seemed like the right place but I think I'd just become addled staring at so many options and  files and I completely missed the little section where it selected the text. Obvious when you know where it is... as usual.

 

thanks again

 

Link to comment
Share on other sites

×
×
  • Create New...