Can someone help me please? I’d like to add the word “From” above the price for each product under category view. e.g.
Thanks in advance.
- Annie
Can someone help me please? I’d like to add the word “From” above the price for each product under category view. e.g.
Thanks in advance.
Hello,[list=1]
[]save file skins/[SKIN_NAME]/customer/addons/my_changes/hooks/products/prices_block.pre.tpl with content:
{*** added by HungryWeb.net ***}
{if $details_page}
{/if}
{*** end ***}
[]use can add to styles.css styles for class above_price
[*]you need to add to language, text_above_price (ex: From)
[/list]
[ tested on cs-cart v.3.0.6 professional ]
I hope that helps,
—
Valentin
Thanks Valentin!
Its working great in product details page, but how can I add 'From' above or at the same line before the price in categories page?
on file skins/[SKIN_NAME]/customer/addons/my_changes/hooks/products/prices_block.pre.tpl replace{if $details_page}
with {if $details_page || $controller == 'categories'}
I hope that helps,
—
Valentin
It works very well. Thanks so much.
You're welcome
how to Put Below Price ?
Please try
prices_block.post.tpl
—
Valentin
[quote name='Vali' timestamp='1370438131' post='163065']
Please try
prices_block.post.tpl
—
Valentin
[/quote]
Nice , Its Working. Vali Your the great ! Thanks
You're welcome
But Not Working step 2 " [color=#282828][font=arial, verdana, tahoma, sans-serif]use can add to styles.css styles for class [/font][/color]above_price" !
why? please PM the link and i will check
[quote name='Vali' timestamp='1369478421' post='162393']
Hello,[list=1]
[]save file skins/[SKIN_NAME]/customer/addons/my_changes/hooks/products/prices_block.pre.tpl with content:
{*** added by HungryWeb.net ***}
{if $details_page}
{/if}
{*** end ***}
[]use can add to styles.css styles for class above_price
[*]you need to add to language, text_above_price (ex: From)
[/list]
[ tested on cs-cart v.3.0.6 professional ]
I hope that helps,
—
Valentin
[/quote]
Is it possible to do this on CS-Cart 4.1.4 ? Please help. Thanks
Hi @netvaz,
Yes, the hook is working on cs-cart v4.x
Thanks so much! It’s working in the product details page, but how can I add it in the categories page?
I was trying to replace this
{if $details_page}
with
{if $details_page || $controller == ‘categories’}
but it doesn’t work.
Please try
{if $details_page || $runtime.controller == 'categories'}
Regards,
—
Valentin
[color=#808080][size=2]part of hungryweb.net[/size][/color]
Great! It’s working. Thank you!
You are welcome
Hi,
Â
Can someone help me ?Â
Â
I would like to add a custom text above or below quantity at the product list with option, i alreadyÂ
prepare the file and works at product view but not in the product list view with optionÂ
Â
My file is at skins/[SKIN_NAME]/customer/addons/my_changes/hooks/products/options_advanced.post.tpl
Â
How can I add this in the search results page?