Related product as a widget

May 2014 WordPress Theme
GK User
Wed May 20, 2015 8:08 pm
Hi, i would like to show the related product as a widget.
I tried with the woo commerce shortcode but it is displaying not as the other widget..how can i do?
thanks
User avatar
Gold Boarder

GK User
Thu May 21, 2015 8:20 am
Hi,

Could you provide an URL to your site with these realted products?
User avatar
Moderator

GK User
Thu May 21, 2015 8:41 am
I, right now site is on maintenance page but i deleted the widget where i putted shortcode cause it was very bad :/ there is no a quick solution to do that? :O
User avatar
Gold Boarder

GK User
Thu May 21, 2015 11:28 am
Hi, any news?
User avatar
Gold Boarder

GK User
Thu May 21, 2015 1:23 pm
Unfortunately I can't help you without seeing your website, I have no idea what's that mean that the shortcode looks "very bad".
User avatar
Moderator

GK User
Thu May 21, 2015 2:41 pm
Ok, please check here: http://www.brillabijou.com/shop/anelli/prodotto-demo/
check first widget on the left.
User avatar
Gold Boarder

GK User
Fri May 22, 2015 9:45 am
Hy, any news here?
Thanks
User avatar
Gold Boarder

GK User
Sat May 23, 2015 7:21 am
Please let me know :(
User avatar
Gold Boarder

GK User
Sun May 24, 2015 8:51 pm
Could you tell me, what exactly do you want to change? because I can't see any visual issues with your "PRODOTTI CORRELATI" widget.
User avatar
Moderator

GK User
Mon May 25, 2015 10:59 pm
Hi, i just found a workaround thanks to css, but i would like to give the same style of the "Visti di recente" widget (that is normal woo commerce style).

http://postimg.org/image/ppzgw9poz/

Thanks
User avatar
Gold Boarder

GK User
Tue May 26, 2015 9:14 am
Hi,

Try to add this custom css code (remove your existing connected with related product widget):
Code: Select all
.relatedproductwidget ul.products li {
   list-style: none;
   margin: 0;
   padding: 0!important;
}

.relatedproductwidget ul.products li.product .onsale {
   display: none;
}

.relatedproductwidget ul.products li img {
   border: 0;
   border-radius: 0!important;
   float: left;
   height: auto;
   margin: 7px 20px 5px 0;
   width: 55px!important;
}

.relatedproductwidget ul.products li h3,
.relatedproductwidget ul.products li h3 a {
   float: right;
   padding:  0;
}
.relatedproductwidget ul.products li h3 a {
   float: left;
}
.relatedproductwidget ul.products li h3 {
   width: 60%;
   text-align: left;
}
.relatedproductwidget ul.products li > a {
   width: 40%;
}
.relatedproductwidget ul.products li span {
   text-align: left;
}
User avatar
Moderator

GK User
Tue May 26, 2015 1:23 pm
Hi, code doesn't work as well please check the page.
thanks
User avatar
Gold Boarder

GK User
Wed May 27, 2015 7:31 am
Did you remove the old code?
Try to add also this one:
Code: Select all
.relatedproductwidget ul.products li > a {
  width: 40%;
  float: left;
}
.relatedproductwidget .price .amount {
  font-size: 15px;
}
User avatar
Moderator

GK User
Wed May 27, 2015 8:32 am
yes i commented
User avatar
Gold Boarder

GK User
Wed May 27, 2015 8:49 am
ok this has been solved. thanks
User avatar
Gold Boarder


cron