How Can I Add Value To Url ?

hi i want to add some tags to product detail url with ajax. how can i do that ?

i did something working but doesnt work with ajax request ?

There are several ways to accomplish. Be best if you gave a concrete example of what you want to do. Are these 'tags' (assuming you mean parameters) unique for each product? Or are they general like for determining referrer or other environmental situations?

It's probably easiest to use a pre controller for products.php and then set the $_REQUEST parameter to contain what you want. This has the advantage of hiding the values from the user.

Ok mate i will try thank you

hi i want to add some tags to product detail url with ajax. how can i do that ?

i did something working but doesnt work with ajax request ?

Hello!

You can check how product filters add features_hash parameter to the URL and make the same. Filter scripts are in js/tygh/product_filters.js file.