Jump to content

Specials block and Best Sellers are showing vertical and not horizontal


gray

Recommended Posts

I also have the same problem. But then again I have found so many other bugs that you just can't work with it. 

 

+1

 

i'm a prestashop newbie, i run an x-cart store since 14 years, and i'm looking around to a more modern cart, but 1.7 seems a prealpha release

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Ok another newbie.. :) 

So how should i fix this issue?

Can someone explain step by step?

Thank You a lot :)

 

 

P.S. I would like to translate them... how to?? :) 

 

 

Ok so I think I just managed to do this by my self :) :) 

Well at least it works for this moment :) :) 

/themes/classic/modules/ps_newproducts/views/templates/hook

<section class="featured-products clearfix">
  <h1 class="h1 products-section-title text-uppercase ">
    {l s='New products' d='Modules.Newproducts.Shop'}
  </h1>
  <div class="products">
    {foreach from=$products item="product"}
      {include file="catalog/_partials/miniatures/product.tpl" product=$product}
    {/foreach}
  </div>
  <a class="all-product-link pull-xs-left pull-md-right h4" href="{$allNewProductsLink}">
    {l s='All new products' d='Modules.Newproducts.Shop'}<i class="material-icons"></i>
  </a>
</section>


/themes/classic/modules/ps_specials/views/templates/hook

<section class="featured-products clearfix">
  <h1 class="h1 products-section-title text-uppercase ">
    {l s='On sale' d='Modules.Specials.Shop'}
  </h1>
  <div class="products">
    {foreach from=$products item="product"}
      {include file="catalog/_partials/miniatures/product.tpl" product=$product}
    {/foreach}
  </div>
  <a class="all-product-link pull-xs-left pull-md-right h4" href="{$allSpecialProductsLink}">
    {l s='All sale products' d='Modules.Specials.Shop'}<i class="material-icons"></i>
  </a>
</section>

Edited by PromoApranga (see edit history)
Link to comment
Share on other sites

Hi guys,

 

I have already solved these problems in the themes created by Presta Theme Maker editor.

 

I tried to make it as simple as possible for you:

 

1. Download the zip file

 

2. Follow the structure of the ZIP file and insert the files directly into your theme. (not into /modules/ folder)

 

3. Add this CSS code at the end of theme.css

#supplier .brand{
  margin-bottom: 40px;
}
#supplier .brand img{
  max-width: 100%;
  margin-bottom: 20px;
}

This CSS code + TPL files in the ZIP file will fix:

 

- suppliers list

- new products (ps_newproducts)

- products on sale (ps_specials)

- other products in the category, displayed below your the detail of your products (ps_categoryproducts)

- viewed products (ps_viewedproduct)

 

Best sales should be already displayed correctly.

 

Please let me know how it worked :)

fixed displaying of products.zip

Edited by Andrej Stas (see edit history)
  • Like 3
Link to comment
Share on other sites

Hi guys,

 

I have already solved these problems in the themes created by Presta Theme Maker editor.

 

I tried to make it as simple as possible for you:

 

1. Download the zip file

 

2. Follow the structure of the ZIP file and insert the files directly into your theme. (not into /modules/ folder)

 

3. Add this CSS code at the end of theme.css

#supplier .brand{
  margin-bottom: 40px;
}
#supplier .brand img{
  max-width: 100%;
  margin-bottom: 20px;
}

This CSS code + TPL files in the ZIP file will fix:

 

- suppliers list

- new products (ps_newproducts)

- products on sale (ps_specials)

- other products in the category, displayed below your the detail of your products (ps_categoryproducts)

- viewed products (ps_viewedproduct)

 

Best sales should be already displayed correctly.

 

Please let me know how it worked :)

 

Thanks for your solution,it is works for the NEW PRODUCTS and OTHER PRODUCTS IN THE SAME CATEGORY , but the BEST SELLERS still vertical.I have use the ps1.7.0.3 to do the test .

Link to comment
Share on other sites

  • 3 weeks later...

I realized that these modules were included in Prestashop 1.7.0.3, but are totally missing in 1.7.0.4

 

- ps_advertising

- ps_bestsellers

- ps_brandlist

- ps_newproducts

- ps_specials

- ps_supplierlist

 

- ps_viewedproduct

 

I will contact Prestashop to ask them about the reason.

 

Presta Theme Maker will update tomorrow and all themes will automatically all these missing modules.

Link to comment
Share on other sites

In my opinion clean install should be without preinstalled modules.. but its only my opinion :)

 

Every single time i update my presta, i have to delete a lot of modules... :D once again it is only my opinion :)

 

I understand you, and you have a point.

 

On the other hand, I think all those modules are pretty basic and quite useful. Tomorrow Presta Theme Maker will be updated for PS 1.7.0.4, and I will post here also the new files and "missing" modules.

 

Sorry for the delay, it took me more time than I expected.

  • Like 1
Link to comment
Share on other sites

Hi guys,

 

here are the files.

 

Please follow the structure of the ZIP, you will copy these folders:

 

ps_bestsellers

ps_brandlist

ps_categoryproducts

ps_newproducts

ps_specials

ps_supplierlist

ps_viewedproduct

 

into /your_theme/modules/

 

If there was a problem, please write me a message with a link to your eshop, so that I could check what went wrong.

 

 

Actually, I didn't change the TPL files much from the last version, they are almost the same as before, but they work for me in PS 1.7.0.4. Let me know! :)

your theme.zip

Edited by Andrej Stas (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 3 years later...

I recently have this problem in ps_featuredproducts. Before they were show horizontal and now vertical which looks very bad as they are underneath each other and take up a lot of length of the homepage.

I use PS v 1.7.2.4.

How can I fix this and it looks like it happended after a module update as before it was ok.

Edited by Frevab (see edit history)
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...