Home Forums WoodMart support forum changing the url depending on wich product variation is selected

changing the url depending on wich product variation is selected

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #647886

    bala_vlad
    Participant

    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.
    #647945

    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,

    #648201

    bala_vlad
    Participant

    working!

    Gusy, u are awesome!!!

    Thank you very much!

    #648218

    bala_vlad
    Participant

    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!

    #648333

    Hello,

    Navigate to Theme Settings > Custom JS > Add the code.

    Here is the code: https://codeshare.io/KWD437

    Best Regards,

    #648390

    bala_vlad
    Participant

    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.
    #648456

    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,

    #648497

    bala_vlad
    Participant

    I understand.

    Thank you a lot guys for everything! U are awesome!

    Thank you once again and ahve a nice day there!

    #648663

    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.

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘changing the url depending on wich product variation is selected’ is closed to new replies.