Jump to content

[SOLVED] Adding product attributes to a modal


Recommended Posts

Hello!

I need to put the product attributes in a custom modal. I have achieved that by copying the product-variants.tpl into my custom module tpl. All is good and well, but when I change the attributes, they jump back to the values entered into the product page. How can I make them change through the modal as well?

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

So I have noticed that when I click on an attribute, the URL in the address bar changes, but it does not change when this is done through the modal. I tried force update of friendly URL, but it still does not update the URL when attribute is changed from the modal.

If someone knows how I can force the change of the URL from the custom modal I would be grateful.

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