Jump to content

[SOLVED] Don't appear the old price and reduction percent


Recommended Posts

Hi Pijucat,

In the theme you use, there is on purpose this reduction and old price text removed:

in file:  /themes/leoshoe/css/product.css, line 264) you have the lines:

 

#buy_block p#old_price,#reduction_percent {

    display: none !important;

}

 

If you change this code to:

 

#buy_block p#old_price,#reduction_percent {

//    display: none !important;              <-- add the two slashed here to "comment out" the code

}
 
and add just below this code:
 
#buy_block p#old_price {
    text-decoration:line-through;

}

 
to give a strikethrough through the old price

 

 

You may need to play with some css a little to put the prices where you want them, but this should basically do the trick.

 

pascal.

  • Like 1
Link to comment
Share on other sites

Dear Pascal;

 

First of all, thanks for you help !

 

I have done your instructions, but the results is that the  old price and reduction percent is still not visible.

Here is the midified CSS code;

 

 

Best regards;

Joan

 

.content_prices:after {
    border-top: 1px dotted #ccc;
    content: "";
    display: block;
    position: absolute;
    top: -3px;
    width: 100%;
}
#buy_block p.price {padding:0}
.discount {display:none}
#buy_block p#old_price ,#reduction_percent{
    //display: none !important;
}
#buy_block p#old_price {
    text-decoration:line-through;

}

.our_price_display {
    padding-bottom:10px;
    font-weight:bold;
    font-size:24px;
    line-height:18px;
    color:#9b0000;
}
#reduction_percent,
#reduction_amount {
   display: block;
   float: right;
    margin-left:10px;
   padding: 0 0 0 10px;
   font-weight: bold;
   font-size: 12px;
   color: #fff;
    background: url(../img/bg_reduction.png) no-repeat 0 0 transparent
}
#reduction_percent span,
#reduction_amount span {
   display: block;
   padding: 1px 5px 1px 0;
   background: url(../img/bg_reduction.png) no-repeat 100% 0 transparent
}

/* online_only */
#buy_block p.online_only {
  display: none;
}

Link to comment
Share on other sites

×
×
  • Create New...