Jump to content

How do i check product for specific tag on product list in PS 1.6?


Masocrate
 Share

Recommended Posts

Hi, i would like to show some custom content below products with spefic tags on product-list.tpl.

Already have tried two things:

https://stackoverflow.com/a/45283123/2375074


On the first case - it simply doesn't work. I guess it's for single product?

On the second - the part:

{if $value=="mytag"}

- doesn't work.

I have tag named "puch" with ID 1, so i would like to show custom text below it in product-list.tpl, so what i have tried is:

{if $value=="puch"}
test 1
{/if}

- but nothing shows up...

The tags have allocated products to it, i have no idea what might be wrong here. It doesn't matter if the check would be for tag ID or tag value.

Any help would be much appreciated.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

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

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More