
-
AuthorPosts
-
January 6, 2021 at 4:41 pm #1270658
Thilakzan
GuestDear Support,
I used your theme to make a website. I would like to add an online catalog through WooCommerce plugin and I meet some design problems.
Indeed, I created a page to defined the main shop page and I have add woocommerce short codes to display categories.
When you choose a category, you will see a listing of products, I managed to delete right side bar and buttons through the theme options. Is there any other way to custom this page (like the previous one) ?Now, I would like to custom the product page and I don’t find how to do that.
On that link (https://kriesi.at/documentation/enfold/intro-to-layout-builder/) you mentionned a point which is called ‘Activate the WooCommerce Product page’ where you indicated that we can activate Advanced Layout Builder on single product page but there is no explaination on the way to do that.Could you, please, tell me how to custom single product page through theme options ?
Regards,
ThilakzanJanuary 8, 2021 at 3:27 pm #1271090Hey Thilakzan,
Thank you for the inquiry.
By default, the Advance Layout Builder (ALB) is disabled for the base shop page, but as described in the documentation, we could use the following snippet in the functions.php file to enable it.
add_theme_support( 'avia_custom_shop_page' );
However, please note that some features or options in the shop page may not work properly when this is enabled.
Best regards,
IsmaelJanuary 8, 2021 at 4:44 pm #1271105This reply has been marked as private.January 11, 2021 at 7:14 am #1271501Hi,
Is there any solution to custom product pages template with ALB ?
When ALB is enabled, a blank template will be used instead and all elements from the default product template such as the price, product photo, etc will be removed or will not render at all. You have to manually add them again using the available elements in the ALB when necessary.
Thank you for your patience.
Best regards,
IsmaelJanuary 11, 2021 at 1:20 pm #1271583This reply has been marked as private.January 14, 2021 at 6:12 pm #1272496Hi,
Yes, that is correct. If you would like to modify the default layout of the product pages, then you have to manually edit the templates or modify the existing template hooks. A lot of the elements in the product page are rendered through action hooks or filters, so it is possible to remove those hooks and create your own, but you have to be really familiar with the plugin and of course how WP hooks and filter works.
Please check the following articles for more info.
// https://blog.atomicsmash.co.uk/blog/how-to-customise-woocommerce-templates-with-hooks/
// https://docs.woocommerce.com/document/introduction-to-hooks-actions-and-filters/Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.