Jump to content

How to make 2 coloums & Currency symbol move


Recommended Posts

Hi new to Prestashop I had Magento but it was complicated so i switched to Prestashop because it's more Back end user friendly.

 

the website is here i am using the default theme https://teqleed.com/shop/

 

But I am facing some issues I could not find a solution on google that works.

 

Such as

 

Moving currency symbol to the right side, i could find a solution 

 

Featured/Promo/New/Best Selling & Products list in the main page in the mobile view it shows only 1 product at a time , I am trying to find a way to make it 2 columns but i couldn't find a solution,

 

 

Link to comment
Share on other sites

1 hour ago, ApoA said:

hello,

about moving the currency to the right side, you can modify on positions on backend, about the columns, maybe you'll need to edit template file to achieve that. just feel free to ask

Hi where in backend ? I can't find it I am using 1.7.x Prestashop.

 

for the columns i tried to play with the code but sadly it gave a bad effect but moving away the text box..etc to the left and making the site look bad

Link to comment
Share on other sites

27 minutes ago, ApoA said:

hello,

for positions,

image.thumb.png.5cd0fbe95256777b1ecf509c73dfa3f1.png

 

search the currency module, it's probably hooked to nav1, transplant it to nav2

I think you misunderstood me, or I wrote the question wrong, what I meant is the currency symbol to be moved to the right side of price, please see the image to see what i meant. the placment of the currency to be before price

please seee.png

Link to comment
Share on other sites

hello,

sorry for the late reply,

well about putting the currency symbol on the right. i can only think of editing the template. for this one you should edit the file product.tpl on this category, themes\"current active theme"\templates\catalog\_partials\miniatures

{hook h='displayProductPriceBlock' product=$product type="before_price"}

<span class="sr-only">{l s='Price' d='Shop.Theme.Catalog'}</span>

{* <span itemprop="price" class="price">{$product.price}</span> *}
<span itemprop="price" class="price">{$product.price_amount} {$currency.sign}</span>

{hook h='displayProductPriceBlock' product=$product type='unit_price'}

{hook h='displayProductPriceBlock' product=$product type='weight'}

replace the {$product.price} with {$product.price_amount} {$currency.sign}, remember this option only applies to the miniature view of the product, if you view the product page, the display will be the same, so you have to edit it also. happy editing.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...