Code-Plus Posted November 29, 2013 Share Posted November 29, 2013 Hi all, modify the product list according Myszczuk Milosz indications are found here: http://mypresta.eu/en/art/developer/prestashop-products-list-grid-view.htmlBut leave me hollow blank, do not know why, someone can help me to display either the grid? I would also like to put the homefeatured product list (on grid), but the code does not change, anyone know where can I find it? attached a screenshot of the errorVersion: 1.5.4Template: default (as amended)Web: www.imHOTTO.es Thank you very much. Link to comment Share on other sites More sharing options...
Er.Ritesh Posted November 29, 2013 Share Posted November 29, 2013 can you share url to your website? it will be helpful in this case. Link to comment Share on other sites More sharing options...
Code-Plus Posted November 29, 2013 Author Share Posted November 29, 2013 indicate it in the first post XDWebsite: www.imHOTTO.es Link to comment Share on other sites More sharing options...
vekia Posted November 30, 2013 Share Posted November 30, 2013 i checked your website and everything works well there problem solved? i supposr that problem was related to number of products per page (you can define this value in back office preferences page) Link to comment Share on other sites More sharing options...
Code-Plus Posted December 1, 2013 Author Share Posted December 1, 2013 no, the problem is not resolved, temporarily put the items on display stock, if you notice, most pages without items listed.I put the product list as it was to see the faultthanks Link to comment Share on other sites More sharing options...
Code-Plus Posted December 1, 2013 Author Share Posted December 1, 2013 is where the problem but i dont know solve.i modified the source code to show only the items with stock when the items account for formatting pages, has all the product list when it eats holesinstance. total product is 4 to showProduct 1 -> stock, displaysProduct 2 -> stock, displaysproduct 3 -> no stock, but it does not show the gap leftproduct 4 -> stock, displays Link to comment Share on other sites More sharing options...
vekia Posted December 1, 2013 Share Posted December 1, 2013 just trying to understand what you did. You changed core? '...i modified the source code...' or just template file? can you shed some more light on this case please? especially what you modified and how Link to comment Share on other sites More sharing options...
Code-Plus Posted December 1, 2013 Author Share Posted December 1, 2013 modify the code according to your instructions: http://mypresta.eu/en/art/developer/prestashop-products-list-grid-view.htmlalso changed: product list ... {if isset($products)} <!-- Products list --> <ul id="product_list" class="clear"> {foreach from=$products item=product name=products} {if ($product.id_product_attribute == 0 || (isset($add_prod_display) && ($add_prod_display == 1))) && $product.available_for_order && !isset($restricted_country_mode) && $product.minimal_quantity <= 1 && $product.customizable != 2 && !$PS_CATALOG_MODE} {if ($product.allow_oosp || $product.quantity > 0)} <li class="dropshadowclass ajax_block_product {if $smarty.foreach.products.first}first_item{elseif $smarty.foreach.products.last}last_item{/if} {if $smarty.foreach.products.index % 2}alternate_item{else}item{/if} clearfix"> <div class="center_block"> ... and the idem change for specials product and new product Link to comment Share on other sites More sharing options...
Code-Plus Posted December 5, 2013 Author Share Posted December 5, 2013 any idea? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now