On sales page

May 2014 WordPress Theme
GK User
Tue May 05, 2015 2:05 pm
Hi,

i would like to create a page where only product "on Sale" are showed.
I tried using the woo commerce shortcode ([sale_products per_page="12"]) and putting it into page.
The output is that the page have a style diffent from the "shop page" (here - - > http://www.brillabijou.com/offerte/, as u can see border is missing and also layout is different).
I tried to use gk news show pro as in home page but i am not able to find a option in order to display only "on sale product" or featured one.

Thanks
User avatar
Gold Boarder

GK User
Tue May 05, 2015 10:06 pm
Hi,

Unfortunately it's not possible with NSP widget to set only on sale products, but try to add this custom css:
Code: Select all
.page-id-2110 article .content .woocommerce ul.products li {
   border: 1px solid #e5e5e5;
   clear: none;
  margin: 0.75%;
  overflow: hidden;
  position: relative;
  text-align: center;
}
User avatar
Moderator

GK User
Tue May 05, 2015 10:07 pm
Hi,
thanks for ur response.
What about page-id-2110? Should i replace the id of page that i wanna create?
User avatar
Gold Boarder

GK User
Wed May 06, 2015 8:06 am
Yes, the page-id-2110 is the id of this page: http://www.brillabijou.com/offerte/
if you want to have this layout on other page, change or duplicate the css selectors:

Code: Select all
.page-id-2110 article .content .woocommerce ul.products li,
.page-id-SECOND_ID article .content .woocommerce ul.products li  {
   border: 1px solid #e5e5e5;
   clear: none;
  margin: 0.75%;
  overflow: hidden;
  position: relative;
  text-align: center;
}
User avatar
Moderator

GK User
Wed May 06, 2015 8:18 am
yah works thanks
User avatar
Gold Boarder


cron