darius
March 20, 2021, 12:00am
1
1. Could someone point me to where are the labels controlled at?
For example .ty-product-labels--top-right
where exactly do you set label location to say bottom right ?
2. product_label.tpl
has
{if $label_href}
{* Link label *}
{if $label_icon} {/if}{$label_text}
{else}
{* Simple label *}
{if $label_icon} {/if}{$label_text}
{/if}
what kind of labels are supported ? Discount and free shipping, what does mini, or a link mean, how does it work ?
Find the class you want in css file and change its position size and whatever you need
jim01
March 21, 2021, 12:00am
3
How can I make the labels to be circles with fixed size (diameter) instead of rectangles? I actually need the discount label showing the percentage only.
1. Could someone point me to where are the labels controlled at?
For example .ty-product-labels--top-right
where exactly do you set label location to say bottom right ?
2. product_label.tpl
has
{if $label_href}
{* Link label *}
{if $label_icon} {/if}{$label_text}
{else}
{* Simple label *}
{if $label_icon} {/if}{$label_text}
{/if}
what kind of labels are supported ? Discount and free shipping, what does mini, or a link mean, how does it work ?
design/themes/responsive/templates/common/product_data.tpl
{$product_labels_position = $product_labels_position|default:"top-right"}
darius
March 22, 2021, 12:00am
5
design/themes/responsive/templates/common/product_data.tpl
{$product_labels_position = $product_labels_position|default:"top-right"}
Thanks a lot :)
could not find any documentation for this..