Documentation

Everything you need to get started with Blocksy Theme and Companion

Developers

Name: blocksy:woocommerce:product-view:product_gallery_images
Type: Filter
Arguments: 1
Description: Customize the attachments that are displayed in the product gallery. First image is always the featured image of the product. Possible value: Array of attachment IDs

add_filter('blocksy:woocommerce:product-view:product_gallery_images', function ($attachment_ids) {
$attachment_ids[] = 5;
return $attachment_ids;
});

Name: blocksy:woocommerce:product-view:use-default
Type: Filter
Arguments: 1
Description: Change the view of the gallery to be used in single product Since: 1.7.65
Default: false
Possible value: true / false

add_filter('blocky:woocommerce:product-view:use-default', function ($current_value) {
// Use WooCommerce built in gallery
return true;
});

WooCommerce Extra: Change wish list my account slug

Name: blocksy:pro:woocommerce-extra:wish-list:slug
Type: Filter
Arguments: 1
Description: Change the slug of the wish list page for My Account Since: 1.8.0
Default: woo-wish-list
Possible value: string

add_filter('blocksy:pro:woocommerce-extra:wish-list:slug', function ($slug) {
return 'custom-slug';
});

Quick View Image Ratio

Name: blocksy:woocommerce:default_product_ratio
Type: Filter
Arguments: 1
Description: Change the default ratio used for quick view product gallery
Default: 3/4 , 1/1 , 1/2 , 2/1 , 4/3 , 16/9 , 9/16 , original
Possible value: string

add_filter('blocksy:woocommerce:default_product_ratio', function ($ratio) {
return '1/1';
});
Not the solution you are looking for?

Please check other articles or open a support ticket.