morckdk
Forum Replies Created
-
You right. Sry, my bad!
Thanks it worked.
“How would you do that with Dynamic Notice?”
I would show a Dynamic Notice containing the JS conditionally from a radio input. Maybe thats not even possible, dont know.“Probably because you really need ‘add to cart’ btn. In general, I am not sure what you mean precisely.”
True you need a ‘add to cart’ btn if you need a ‘add to cart’ btn. In my case however sending the costumer a quote i thought would be more ideal.However i might do it in another way and find a quote plugin. Just wanted to make it all happen on the product page. This would make it less complicated and would probably result in more requests.
What i was trying to say is that apparently the CPO builder changes the ‘add to cart’ btn since the catalog plugin will hide the btn from all other products than the ones where the CPO builder is activated.
Ahh yes i know.
I was trying to dynamically hide and show the add to cart btn and the btn from the add-on.
Just tried the example from the documentation to be sure that the code was right. But guess there is more to it than just copy paste and change up the variables.
I would have used another plugin or snippet to deal with the add to cart btn but seems like the CPO builder changes the hook of the btn somehow. When i use a catalog plugin or a snippet to remove the btn it doesnt affect the add to cart btn on pages where the CPO builder is active.
Okay thank you. So its not a bug, just that my code is unfinished.
What do you mean: Otherwise just print out variables?
Yes exactly! What would be optimal would be the buttons on the picture in some kind of fullscreen view. But very specific i know. I will have to hire a developer or learn some coding. TY!
If the picture is inside the product summary you can have customisations buttons before end after it.
And again maybe its only me thats having/seeing this problem, im not very experienced with wordpress.
- This reply was modified 5 years, 8 months ago by morckdk.
I mean when you go to a product page on mobile, you then see the product pictures in the top. Then you scroll down and when you reach the customisation buttons you cannot see the product pictures in the screen anymore. At least not if you have quite a few types of customisation options. Would be nice to have buttons and the picture the buttons changes within same “screen picture” on mobile.
Maybe there is some other obvious workaround i dont see, if there is please tell me ??
Okay ty,
The problem with changing the product picture is that on mobile its already outside the screen when you reach the buttons. Would be an appreciated standard feature if it makes sense to implement from your viewpoint.
- This reply was modified 5 years, 8 months ago by morckdk.
OKay sorry my bad, thought it was something different “based on custom option”. It works now, ty!!
Ahh yes forgot to publish it. Sorry about that.
https://markisecentralen.dk/shop/uncategorized/stila-b-serie-zip-screen/