Cs Cart Show Text On New Product Only

How can i show text on only new products?

something like:

{if $is_new}NEW{/if}

all help is appreciated. How can i also show vendor info on the checkout page, help please, thanks in advance!

Try something like

{if $product.timestamp > $smarty.const.TIME - $smarty.const.SECONDS_IN_DAY * 3}
    NEW
{/if}

(!) Not tested

Try something like

{if $product.timestamp > $smarty.const.TIME - $smarty.const.SECONDS_IN_DAY * 3}
    NEW
{/if}

(!) Not tested

I tried it but it didn't show the text, please help

Where did you place this code?

On the product detail page, it works when i put it on the product data but not on the detail page. Please also can you tell me how to show the on backend admin "website > search word > search string" on the front end. Thank you

On the product detail page, it works when i put it on the product data but not on the detail page.


It should work. Examination is required

Please also can you tell me how to show the on backend admin "website > search word > search string" on the front end. Thank you


Please clarify your question

Oh yes!!!!! i was adding in a div that had a hidden class... loll Thanks so much!

It should work. Examination is required


Please clarify your question

I want to show the saved search words from the admin page in the front end

There is no ability to show search phrases in the store-front

There is no ability to show search phrases in the store-front

Ok, thanks.. When i add the {if $product.timestamp > $smarty.const.TIME - $smarty.const.SECONDS_IN_DAY * 3} NEW {/if} on the checkout page it doesn't work

Ok, thanks.. When i add the {if $product.timestamp > $smarty.const.TIME - $smarty.const.SECONDS_IN_DAY * 3} NEW {/if} on the checkout page it doesn't work

I understand now. Timestamp is not stored in the session with cart items data. Additional code modifications are required to store this data in the session

Can you give me the code and where to put it, thank you

Please make a request here to get a quote

https://www.ecom-labs.com/?quote

Ok, I'll.. please can you tell what i'm i doing wrong.... This code "{$vendor_data.state}, {$vendor_data.country}, {$vendor_data.zipcode}" shows the vendor state, country and zipcode everywhere, but won't show on checkout and cart page, i need help to show this info on the checkout and cart page..