Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Woocommerce On Sale
New Landing › How can we help? › Themeforest Theme Support › Dante › Woocommerce On Sale
- This topic has 16 replies, 2 voices, and was last updated 10 years by Mohammad – SUPPORT.
-
Posted in: Dante
-
May 15, 2014 at 6:32 pm #75423
Hi There,
I seem to have a problem with getting woocommerce sale products to work correctly…
When I use WC shortcode : [sale_products per_page=”12″] the layout is completely messed up.
When I use page builder element it shows nicely but I can not show all the products on sale (and for example set to 12 per page with pagination..)
Also with either one of them the width of where the product are are not correct.. The sidebar is bigger that on my other product pages. I had a issue & received custom css to fix, but dont know why it is not working on this page? custom css was :
.woocommerce-page .sidebar {
border: 2px solid #DDDDDD;
border-radius: 10px;
padding: 20px;
}ul.products li.product .product-details {
width: 80%;
}Sale page : http://www.photoalbumsonline.co.za/specials/
Any other page with correct sidebar width : http://www.photoalbumsonline.co.za/product-category/photo-albums/baby-photo-albums/(btw please excuse, I am busy working on my menu at the moment..)
Thank you!
May 19, 2014 at 9:04 am #75788This reply has been marked as private.July 30, 2014 at 7:21 am #95937This reply has been marked as private.July 30, 2014 at 10:04 am #96012Hi,
I have resolved the issue so please check.
Used sustom css code-:div.post-1513.page.type-page.status-publish.hentry.clearfix.col-sm-8{width:75%} body.page.page-id-1513 aside.sidebar.right-sidebar.col-sm-4{width:25%} body.page-id-1513 ul.products.list-sale-products li{width:262px}
Thanks
July 30, 2014 at 10:24 am #96025Hi Mohammad!
Thank you you are a monster ๐
Another thing, I see that it only displays 4 products also no pagination?
July 30, 2014 at 10:31 am #96030Hi,
Please check that how many products in sale? You have only 4 products on sale so pagination not appearing.
Thanks ๐
With Best Regards
Swift IdeasJuly 30, 2014 at 11:12 am #96049Hi,
No there is about 9 products on sale at the moment.
Noticed something : Does not look like it is picking up the variable products on sale only simple products… ๐
Do you maybe know how to fix this?
July 30, 2014 at 11:22 am #96055Hi,
You have set 8 products in shop element of page builder at page content editor so change that value.
ThanksJuly 30, 2014 at 1:22 pm #96107Hi Mohammad,
Sorry don’t understand if that will make difference? Even if I change to a higher number, currently only 5 is showing? And none of the variable products on sale?
July 31, 2014 at 7:45 am #96286Hi,
I mean to change number of items at edit of shop element. I see that you have 12 value and 5 items is displaying because you have only 5 product on sale. Hope you will understand.
Thanks ๐
With Best Regards
Swift IdeasJuly 31, 2014 at 7:46 am #96287Hi,
I mean to change number of items at edit of shop element. I see that you have 12 value and 5 items is displaying because you have only 5 product on sale. Hope you will understand.
Thanks ๐
With Best Regards
Swift IdeasJuly 31, 2014 at 7:56 am #96291Hi Mohammad,
Apologies if there is confusion, but there is more products on sale than just 5…
For example the following products are on sale but does not display :
http://www.photoalbumsonline.co.za/shop/accessories/snow-flakes/
http://www.photoalbumsonline.co.za/shop/modern-photo-albums/lifestyle-slip-in-40-album/
(BOTH THESE ARE VARIABLE PRODUCTS – THINK IN THE THEME SHORTCODE SOMEWHERE THERE IS ERROR LEAVING IT OUT)If I add normal woocommerce shortcode then all sale products display but the shortcode layout is all messed up.
July 31, 2014 at 8:38 am #96307Hi,
I have resolved the issue so please check it now.
Thanks ๐
With Best Regards
Swift IdeasJuly 31, 2014 at 9:17 am #96329Hi,
Thank you works much better! What did you do (just if maybe someone else need to know)?
Only problem is that there is no pagination? I quickly added another few products on sale (more than 15 products in total)
July 31, 2014 at 9:39 am #96340Hi,
It was simple code tweak. There is no pagination with this shop elements of page builder.Code Remarks-: File sf-products.php at /includes/swift-framework/sf-content-display/ Find this code-: 'post__in' => array_merge(array('0'),$product_ids_on_sale); Change to 'post__in' => $product_ids_on_sale
Thanks ๐
With Best Regards
Swift Ideas -
Posted in: Dante
You must be logged in and have valid license to reply to this topic.