Is it possible to make CPB product builder, additional information box to close from back button?

Solved

Is it possible to make CPB product builder, additional information box to close from back button?

ankkax
Tourist
8 0 3

Is it possible to make product builders and my products page, additional information box to close from back button?

I have page when click  under product it popups box with additional information, I would like to be able to close it with back button. Because I always click back when I want to close the popup and it just leaves the product page to previous page.

 

Accepted Solution (1)

PaulNewton
Shopify Partner
7731 679 1609

This is an accepted solution.

HI @ankkax 👋 this may be feasible it highly depends on the theme and if any apps, external-embeds, etc are making the popups.

Roughly any related javascript would need to be changed to update the url, probably to just a hash fragment, and add that to the history api

https://developer.mozilla.org/en-US/docs/Web/API/History_API

 

not to be confused with the navigation api https://developer.mozilla.org/en-US/docs/Web/API/Navigation_API

 

The HOW is an advanced customization beyond the scope of the forums.

 

If your asking multiple questions including "possible to make CPB product builder" then yes that is also possible , product-personalization customizations or apps are very common.

 

If you need this customization explored then contact me for services
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


View solution in original post

Replies 2 (2)

PaulNewton
Shopify Partner
7731 679 1609

This is an accepted solution.

HI @ankkax 👋 this may be feasible it highly depends on the theme and if any apps, external-embeds, etc are making the popups.

Roughly any related javascript would need to be changed to update the url, probably to just a hash fragment, and add that to the history api

https://developer.mozilla.org/en-US/docs/Web/API/History_API

 

not to be confused with the navigation api https://developer.mozilla.org/en-US/docs/Web/API/Navigation_API

 

The HOW is an advanced customization beyond the scope of the forums.

 

If your asking multiple questions including "possible to make CPB product builder" then yes that is also possible , product-personalization customizations or apps are very common.

 

If you need this customization explored then contact me for services
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


ankkax
Tourist
8 0 3

store is https://hyotyvoima.fi/pages/products and when you click the "lisätietoa" button under the product you get the popup window, if its ok I could send you an email.