on the default theme oc3.0.2.0 on the product page, the special price is placed above the price. I would like to move it after the next price.
I would like to get this (look at the attached picture)
Would anyone be kind enough to tell me how to do this?
Thank you!!!
I would like to get this (look at the attached picture)
Would anyone be kind enough to tell me how to do this?
Thank you!!!
Attachments
img.jpg (193.09 KiB) Viewed 478 times
in the:
theme/default/template/product/product.twig
It's not logical, according to the code, that the old price is placed above the Special Price:
but you try to re-arrange the Code, either like this:
or even like this, to find out, what happen:
Just a wild guess, I use no such Version, so, I cannot check.
Ernie
theme/default/template/product/product.twig
It's not logical, according to the code, that the old price is placed above the Special Price:
Code: Select all
{% else %} <span class="price-new">{{ product.special }}</span> <span class="price-old">{{ product.price }}</span> {% endif %}
Code: Select all
{% else %} <span class="price-old">{{ product.price }}</span> <span class="price-new">{{ product.special }}</span>{% endif %}
Code: Select all
{% else %} <span class="price-new">{{ product.special }}</span><p><span class="price-old">{{ product.price }}</span></p>{% endif %}
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Thank you for answering.
In both cases does not change anything, everything remains as default, I was convinced it was a simple change but it is making me crazy.....
a solution would be really welcome ..... help pls!!!
In both cases does not change anything, everything remains as default, I was convinced it was a simple change but it is making me crazy.....
a solution would be really welcome ..... help pls!!!
Well, did you clear out all your Caching Setups first, before you tried ?
Ernie
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
According to the image, shown above, you have some extension(s) installed,
doing some changes on the Product Page, like the up/down QTY Selector.
It's therefore possible, that this has some influence on this behaviour.
Sorry and good Luck!
Ernie
doing some changes on the Product Page, like the up/down QTY Selector.
It's therefore possible, that this has some influence on this behaviour.
Sorry and good Luck!
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: adycobra2003, kirkhall, Majestic-12 [Bot] and 362 guests