changing the url depending on wich product variation is selected
-
Is it possible to make the product URL change depending on which product variation the customer selects?
Attachments:
You must be
logged in to view attached files.
Hello,
There is no option in the theme settings. This requires customization, which is beyond our support policy.
So, I have searched for a possible solution and found a custom function that you can add to your functions.php file. I have tested this code on our test site and it is working fine: https://ibb.co/qhy8bHg . If the provided code does not work as expected, unfortunately, we are unable to modify it further.
Add this to your theme’s functions.php file of the theme.
https://codeshare.io/r4ME4Y
Best Regards,
working!
Gusy, u are awesome!!!
Thank you very much!
one more thing guys,
Is it possible to change the title of the product depending on which product variation the customer selects?
If we solve this too, that will be amazinggg!
Thank youu!
Hello,
Navigate to Theme Settings > Custom JS > Add the code.
Here is the code: https://codeshare.io/KWD437
Best Regards,
Hello there,
Working, but not liek i want.
I want to have the title, like in the exemple to be like: Licență McAfee Total Protection 1 dispozitiv / pentru 2 ani
But will not show like that, will show like in the img attached.
Thank youu!
Attachments:
You must be
logged in to view attached files.
Hello,
Sorry to say it is not possible in theme settings to make it look like this. Such modification requires complicated Woocommerce code customization which is not covered by our support.
Hope you can understand!
Best Regards,
I understand.
Thank you a lot guys for everything! U are awesome!
Thank you once again and ahve a nice day there!
Hello,
Thank you so much for your kind words!
If you do not mind, can you please leave a 5 stars rating for our theme by going here: http://themeforest.net/downloads It will allow us to release more updates and provide dedicated support in future. It would encourage our work a lot. If you like our Theme and Support.
Have a great day.
Topic Closed.
Best Regards.
The topic ‘changing the url depending on wich product variation is selected’ is closed to new replies.