- Posts: 9
- Thank you received: 0
Add description
10 years 4 months ago #3076
by vanaveno
Add description was created by vanaveno
Hello,
I set Add description on List1 city List2 discount and List3 orgin price. The output I got, for example Město: celá čr Sleva: - 78 440.00
test.multi-web.cz/slevove-servery/Hyperslevy
I want to modify the code of description. add to Sleva % Sleva -78% or Original price I want to cross out [strike]440.00[/strike]. In default_full.php I found echo $item; where I can to find <ul> list and change it. Thanks
<ul>
<li>Město: olomouc </li>
<li>Sleva: - 53 </li>
<li> 620.00 </li>
</ul>
I set Add description on List1 city List2 discount and List3 orgin price. The output I got, for example Město: celá čr Sleva: - 78 440.00
test.multi-web.cz/slevove-servery/Hyperslevy
I want to modify the code of description. add to Sleva % Sleva -78% or Original price I want to cross out [strike]440.00[/strike]. In default_full.php I found echo $item; where I can to find <ul> list and change it. Thanks
<ul>
<li>Město: olomouc </li>
<li>Sleva: - 53 </li>
<li> 620.00 </li>
</ul>
Please Log in to join the conversation.
10 years 4 months ago #3077
by redactie
Replied by redactie on topic Add description
Hi,
the whole list stuff is added to the descriptopn and coded in the generic_cb and there is no way to easily change that.
For the 3.x version the list en tekst fields are removed, here the idea is that you create the list on your own. The same method can be used on the 2.5 version.
Assign the 'old price' to one of the Select fields for example Select8
now in the layout use
or whatever you like
or use CSS with the current list
the whole list stuff is added to the descriptopn and coded in the generic_cb and there is no way to easily change that.
For the 3.x version the list en tekst fields are removed, here the idea is that you create the list on your own. The same method can be used on the 2.5 version.
Assign the 'old price' to one of the Select fields for example Select8
now in the layout use
Code:
echo '<span class="oldprice">Old price: '.$item['Select8'].'</span>';
or whatever you like
or use CSS with the current list
Code:
.datafeeds_description li:nth-child(3) {
text-decoration: line-through;
}
The following user(s) said Thank You: vanaveno
Please Log in to join the conversation.
Time to create page: 0.607 seconds