#140 – variable product

Posted in ‘weeblrAMP’
This is a public ticket. Everybody will be able to see its contents. Only enter usernames, passwords or any other sensitive information in the Private information field.
Tuesday, 12 March 2019 14:59 UTC
VladAgata
 Hello!
Does your plugin support variable products?
Tuesday, 12 March 2019 15:01 UTC
wb_weeblrpress
Hi

Very much so: we update pricing and description on the fly on AMP pages. See this page on our demo site for instance. You can change the color / size and see the description and pricing being adjusted.

Best regards
 
Tuesday, 12 March 2019 15:15 UTC
VladAgata
tell me what I'm doing wrong?
Tuesday, 12 March 2019 15:24 UTC
wb_weeblrpress
Hi

I think this is a bug, it seems to be caused by using lipstick-shade for the field name. It should be lipstick_shade to be accepted. I have not tested but I'm pretty sure that's the problem.

Can you change the field name to test? if yes, I can do a fix and provide you with a fixed version pretty quickly.

Best regards
 
Tuesday, 12 March 2019 15:30 UTC
VladAgata
Super!
The problem was exactly that.
Thank!

And how to make a choice of goods using images?
Since you have a demo.
Tuesday, 12 March 2019 15:32 UTC
wb_weeblrpress
Hi

There's no way to do that in AMP as far as I know, there's just too many limitation to javascript usage. It was already pretty hard to do the variable products!!

Best regards
 
Tuesday, 12 March 2019 15:36 UTC
VladAgata
ok.

Thank!
Tuesday, 12 March 2019 17:17 UTC
wb_weeblrpress
HI

I have made some changes to weeblrAMP so that it handles product attributes with - in their name. You can download the updated version from the development versions download area. You need to update both weeblrAMP AND the weeblrAMP WooCommerce add-on.

Note this version also has a fix for the other issue, where your product attribute had a - in the name.

Best regards
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.