- This topic has 5 replies, 2 voices, and was last updated 6 years, 3 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Clean Commerce Pro › Change count of cross sale columns
How can I change count of cross sale columns?
I mean this section on a goods page https://www.screencast.com/t/rYMsZDRYfQHy
I see four columns, but they don’t show correctly because of a category widget on the left side – https://www.screencast.com/t/45hvzQK03
I want to change the count of cross sale columns from four to three. How can I do this?
Hello @danilko-kuyandex-ru,
First of all thank you very much for using the pro version of the theme.
Actually, the space at the right is the widget area. So to remove the sidebar widget are you can go to that particular page edit screen and manage the layout setting.
In the page edit screen, you will find the ” Theme setting: meta option. Go to layout option and chose “No Sidebar” from the drop-down.
Hope this helps.
Regards!!
But I need to show the sidebar on pages.
I want to change the count of cross sale columns from four to three. How can I do this?
Hello @danilko-kuyandex-ru,
Can you provide the site URL so that we can precise fix on this?
Thank you.
Sure.
For example, you can use any product link like this http://msugaring.ru/shop/products/parafinoterapya/krem-parafin-s-maslom-francuzskoj-lavandy-300-ml/?v=f9308c5d0596
Hello @danilko-kuyandex-ru,
To manage the count you have to activate the child theme.
You can create the child theme manually or simply create the child theme using the available plugins.
After activating the child theme please below-given code in your child theme’s functions.php file.
add_filter( 'woocommerce_output_related_products_args',
'clean_commerce_custom_woocommerce_upsell_display_args' );
function clean_commerce_custom_woocommerce_upsell_display_args( $args ) { $args['posts_per_page'] = 3;
$args['columns'] = 3;
return $args; }
Hope this helps.
Best Regards!!
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |