Jump to content
salue

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,

 

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

hello,

for positions,

image.thumb.png.5cd0fbe95256777b1ecf509c73dfa3f1.png

 

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

can anyone help me on making it 2 columns for display in main and product page..etc

 

and moving the price symbol in product from left to right ?

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More