Home › Forums › Pro Themes › Clean Commerce Pro › Change count of cross sale columns
- This topic has 5 replies, 2 voices, and was last updated 8 years ago by
wensolutions.
-
AuthorPosts
-
July 6, 2018 at 8:59 am #75121
Danil Badretdinov
MemberHow 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?
July 9, 2018 at 1:24 am #75219wensolutions
KeymasterHello @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!!
July 9, 2018 at 2:15 am #75224Danil Badretdinov
MemberBut 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?
July 9, 2018 at 3:56 am #75229wensolutions
KeymasterHello @danilko-kuyandex-ru,
Can you provide the site URL so that we can precise fix on this?
Thank you.
July 9, 2018 at 4:22 am #75230Danil Badretdinov
MemberSure.
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
July 10, 2018 at 2:59 am #75295wensolutions
KeymasterHello @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!!
-
AuthorPosts
- You must be logged in to reply to this topic.





