Jump to content

Tag link reference


SmileyKylie

Recommended Posts

Hi guys, new to PrestaShop and loving it lots. Obviously having a few hair-raising moments that confound me like we all do, and this one regarding an actual link to tags is making me bald!

 

My situation is this;

 

- Tags; I create a new tag called Autumn Range and add all the products to this tag

- Image slider; I advertise a new 'Autumn Range' in text in one of the panels, and I would like to have a link/button in that panel refer to the tag I created labelled Autumn Range.

 

I'm having trouble linking to the tag directly. I'm not sure if this is possible, and have not seen any reference to it online yet. It seems ridiculously simple, and a very powerful feature (creating a quick fire-sale range for example)

 

The search feature pick's up that tag, but I can not find the search link to use in the button, thus avoiding using search at all (the point of the image slider is to quickly access what I am selling!). I have friendly URL's disabled as well  I am thinking possibly it might be in the browsers 'dev-mode' or view source, but I am not so great at such things.

 

Thanks for any feedback, and I hope that makes sense!

Link to comment
Share on other sites

 

Just take the search URL and change everything after the ? to tag=test where test is the tag you want to search for. For example, http://yoursite.com/en/search?tag=test

 

 

Mate, that's exactly the sort of info I was after.

 

However it didn't work. This is the link as per your instructions

 

http://brooklyns-boutique.com.au/en/search?tag=17AR

 

with the tag titled 17AR (as an aside, in order to avoid confusion with spacing etc, I initially used 2017 Autumn Range which was actually rendered in to the link automatically with %20 for spacing. I even tried + for the space, all 404'd)

 

This works with the traditional/manual search function in the store and only the exact items specified appear. I'm wondering if the WindyLei theme is having an effect on the search functionality?

 

Thank you very much for the feedback, rocky *fist punches air*

 

Edit; Oh, I also included and excluded the /en/, with the same end result.

Edited by SmileyKylie (see edit history)
Link to comment
Share on other sites

Oh, you're not using friendly URLs. In that case, you should use http://yourwebsite.com/index.php?controller=search&tag=test

 

Worked a treat, thanks again for that, and for the prompt response. I'm a happy camper! I can also use full text strings ie 2017 Autumn Range, and the link auto-corrects it so that's a plus for the data enterer's.

 

Are you able to cite any references relevant to this information so I can research other bits and pieces further as required? I'm not a fan of YouTube vidoes, and prefer text =)

Link to comment
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
×
×
  • Create New...