No results found. Try again with different words?

Search must be at least 3 characters.

Revert support for Single Product’s legacy Gallery layouts

Sidebar Image

Did not find a solution? We are here to help you succeed.

We have listed down a filter that will help you Structure the WooCommerce Single Product’s legacy Gallery layouts.

This is a premium feature available with the Astra Pro Addon plugin. To use these Pro features, you need to have the Astra theme along with the Astra Pro Addon installed on your website.

Prior to the Astra Pro v3.9.2, you can see 5 Gallery layout options for WooCommerce Single Product. Have a glance at the below-attached screenshot once for a better understanding.

On a fresh new installation, with Astra Pro v3.9.2, the first two Gallery Layout are missing.

This is because we have deprecated legacy layouts. To get the Single Product’s legacy Gallery layouts back, you can make use of the below-attached filter. On adding the following filter in the functions.php file, you can see the 5 Gallery layout options.

add_filter( 'astra_get_option_astra-product-gallery-layout-flag', '__return_false' );

Note:

For additional details on how to add a custom code to the functions.php file please see this article: How to Add Custom PHP Code?

Was this article helpful?
Sidebar Image

Did not find a solution? We are here to help you succeed.

Related Docs

Join 1,653,898+ Happy Site Owners Using Astra

Whether you are a beginner, small business owner, or professional web developer, Astra provides all the tools you need to easily build your beautiful WordPress website.

Download is Just A Click Away!

Membership Retention Checklist Download

REWIND

YEAR IN REVIEW

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form
Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form