Tagged: advanced-layout-editor, enfold, product images, woo commerce
-
AuthorPosts
-
July 28, 2017 at 7:42 am #830913
Hi Guys,
I am currently working on a test site using Enfold.
I have an issue with the woo commerce single product pages. There are 2 ways of looking at this:
design intent: Id like edit the area below the woo commerce product images, short description and add to cart options.
USING THE ADVANCED LAYOUT EDITOR
When I use the advanced layout editor the link between the product images and product variations is broken (we have a selection of different coloured products and when you select a colour the main image changes to that colour. This stops working in the advanced layout editor because the standard product gallery isn’t being used.Is it possible to keep this feature in the advanced layout editor? for a custom single product page.
ANOTHER POSSIBLE SOLUTION
Is it possible to edit the woo commerce single product template so that the advanced layout editor can be used whilst retaining everything above <div class=”summary entry-summary”>.This would retain the standard woo commerce gallery and link to the variations whilst allowing full customisation of the area below.
I hope this makes sense
So far I have edited the tabs.php and added some quick css to make the tabbed area full width below <div class=”summary entry-summary”>. If I cannot use the editor I will need to code this area manually for every product? I want to massively customise this area.July 28, 2017 at 7:44 am #830914This reply has been marked as private.July 28, 2017 at 5:01 pm #831160Ok I’ve had a think about this.
I can edit the functions.php page.
is there a function in Enfold to do something like the following?
add_action( 'before_avia_builder', 'woocommerce_show_product_images', 10 );
The aim being to display content in the content area about the avia builder. Therefore the product will display using the Woo commerce gallery and link the variable product options to the product images.
July 31, 2017 at 1:35 pm #832109Hi orthoticmarketing,
At this point, it’s either/or, but you can try to add widget areas to a page and put the shortoces from the Advanced Layout Builder in the widget or you can use WooCommerce actions to render custom components after single product.
If you need further assistance please let us know.
Best regards,
VictoriaJuly 31, 2017 at 3:08 pm #832166I almost have a way of making this work how I’d like it. Can I have your advice?
See: (login details in previous message)
http://www.specialisedorthoticservices.co.uk/newsite/product/p-pod-copy2/I found the following plugin on code canyon:
https://codecanyon.net/item/woocommerce-single-product-shortcode/14951722This allows the product page to be inserted using a shortcode. So I can turn on the advanced layout builder and still show the full product page above. The only problem is that it doesn’t pick up the enfold styles. Any idea how I can make it do this?
August 1, 2017 at 11:43 am #832773I have given up for now.
I had another option which came close! but I couldnt get the shortcode to display on the product page:
I downloaded this plugin and enabled the Avia builder for the Text block post type. This gave me repeatable content
I then added a custom post type to the product post type and entered the shortcode for the text block….Unfortunately the custom post type will not display the shortcode and just returns the code for the shortcode.
So for now I give up. I’ll re-visit this later but this is a possible solution that allows the standard single product page to be used with the advanced layout editor below it. Filters can then be used to remove the tabbed area and any other standard feature.
Such a shame I cannot get this to work!
This would be an excellent feature to add to the theme for future releases.
August 4, 2017 at 5:31 am #834153Hi,
Is it possible to keep this feature in the advanced layout editor? for a custom single product page.
I’m sorry but you cannot use the advance layout builder if you want to retain the default features of the product page. Please use the default editor.
Is it possible to edit the woo commerce single product template so that the advanced layout editor can be used whilst retaining everything above
.Yes, this is definitely possible but it will require modification that is beyond the scope of support. Please consider hiring a freelance developer or contact our partner, Codeable.
// http://kriesi.at/contact/customization
Best regards,
IsmaelAugust 4, 2017 at 2:47 pm #834344Thanks for your help.
I am going to add a content area so I can insert my Text Blocks shortcode.
I enabled the editor on the text block post type:
And then inserted the shortcode into the product page. This makes it much easier to edit the product pages whilst maintaining the Woo Commerce shop gallery features.
When I get the chance, I am going to add a custom text area to the Woo Commerce shop template. I will then use the Text-block shortcode to allow me to use the advanced layout editor on the product page.
Either way the site is looking very good now and the shop is functioning how I expect it to :)
You can close this issue :)
August 5, 2017 at 11:33 am #834716Hi,
Thank you for sharing that. Good luck! Please don’t hesitate to open a new topic if you need assistance with anything else.
Thank you for using Enfold. Cheers!
Best regards,
Sarah -
AuthorPosts
- The topic ‘Woo Commerce Advanced layout editor Hooks?’ is closed to new replies.