Tagged: Cart, Layout Builder, products, woocommerce
-
AuthorPosts
-
October 31, 2017 at 8:22 pm #870967
I am using the custom layout builder to have better control over the design of my WooCommerce listing…but there is one thing missing that you’d think would be there and work regardless. If someone leaves out a required field, there is no error message at the top that is displayed to let them know. In the default layout, you get both the success (like when you add something to your cart) and error messages at the top.
Any ideas on how to get that on the custom layouts? One would assume that you guys are still using the same code, just, in this case, it isn’t being displayed and needs to be called. Likely something that calls the same code, but puts in into a custom shortcode that I can put into a code block that will only display when triggered?
Also, I just noticed that when you hover over the cart button in the menu, the “subtotal” displays $0 even when you have something in there. I know it used to work just fine, but I couldn’t tell you when exactly this started happening. The only things that have been updated since I last recall even noticing have been WooCommerce and Enfold. I’m assuming that between the two there was an update that caused a small conflict.
November 3, 2017 at 3:25 pm #872185Hey Kahil,
Please, may you provide to us your website link and the WP and FTP credentials?
Best regards,
John TorvikNovember 3, 2017 at 6:56 pm #872254I can’t give out the details to my main site as the last time I did my site was compromised and had to be rebuilt, but I have put together a demo site I just started. This can really be seen on any site using Enfold and WooCommerce with the advanced layout builder and any kind of required field. Or even the alerts you get when an item is added to your cart…those don’t display neither. So it seems like the lil bit of code which triggers those alerts isn’t included in the advanced layout modules.
November 6, 2017 at 9:38 pm #873345Hi,
Actually, the message is there but it is not visible because Enfold Builder is replacing the structure and the hooks there.
When you are using the builder that is happening.
it is a known issue and reported to our developers.Best regards,
BasilisNovember 17, 2017 at 2:08 am #877875@Basilis
As a small update… Woocommerce does now provide a shortcode that is meant for non-woocommerce pages. So the simplest fix for you guys would be to make it a widget where people can put it anywhere they want with their custom layout. It works flawlessly with the “success” messages, but it looks like Enfold has CSS issues with the “error” ones though.[shop_messages]
That said….why haven’t all of the default Woocommerce shortcodes been baked into the layout editor? Would be pretty easy actually to do so, even with fields to fill in for the variable ones where you need a product or category ID. Too bad there isn’t an API yet for the layout builder for devs to use to bake in with their plugins or just on the fly.
November 20, 2017 at 7:27 pm #879312Hi,
That is a great idea actually, yes.
I have asked our developers to take a look at it and see how they can incorporate as many of those, so things can work better.We appreciate your help to make enfold better!
Best regards,
BasilisNovember 29, 2017 at 5:28 am #882952UPDATE
I have taken the shortcode and turned it into a custom element for the Advanced Layout Builder to make it a little easier. Just follow the instructions and you should be good to go.
May 8, 2018 at 12:51 pm #953343Ok, this is nice. But Enfold developers? why is this bug still there.
I can not see the Error Messages when i use the Custtom Layout Builder ;( / so there are not shown.This is a bad bug and it is still there
May 9, 2018 at 11:17 pm #954195Hi,
We are sorry for that, it is reported but we are still going to get it work things out.
Best regards,
BasilisOctober 23, 2018 at 10:07 pm #1025651Its been a year and there is no fix to this bug??? Please add more woocommerce controls.
October 23, 2018 at 10:10 pm #1025653@amrod1 – I actually wrote some more WooCommerce control elements and one of them addresses this problem. You’ll be able to use a custom layout and place the warning/error/notice alerts anywhere you want.
-
AuthorPosts
- You must be logged in to reply to this topic.