Category Archives: templates

Prestashop: change to 2 columns product listing for bootstrap theme in mobile

Source: https://www.prestashop.com/forums/topic/388342-how-can-i-show-items-in-two-columns-on-mobile/?tab=comments#comment-2144346 This is what I did and it worked for me. In your product-list.tpl file there should be a line like this: <li class=”ajax_block_product{if $page_name == ‘index’ || $page_name == ‘product’} col-xs-12 col-sm-4 col-md-3{else} col-xs-12 col-sm-6 col-md-3{/if} for me … Continue reading

Posted in ecommerce, templates | Tagged | Comments Off on Prestashop: change to 2 columns product listing for bootstrap theme in mobile

Prestashop: remove PayPal logo from right column

Solution: https://www.prestashop.com/forums/topic/249896-solved-how-do-i-remove-the-paypal-logo-from-my-home-page/?tab=comments#comment-1241457 open the file: (paypal module directory) views/templates/hook/column.tpl and remove the content of this file And/or: https://www.prestashop.com/forums/topic/255741-solved-how-to-remove-paypal-logo/?tab=comments#comment-2010062 unhook the PayPal module from the right column on my template. This is in the Modules – Positions.

Posted in ecommerce, templates | Comments Off on Prestashop: remove PayPal logo from right column

Prestashop: Add tags to the product list

Source: http://nemops.com/prestashop-product-list-tags/#.XPt5M7hS-Ul 1) Product.php class (use override) Insert code at the last part of public static function getProductProperties($id_lang, $row, Context $context = null) /* add product tags to product list */ $row[‘tags’] = array(); $tags = Tag::getProductTags($row[‘id_product’]); //show product tags … Continue reading

Posted in templates | Tagged , | Comments Off on Prestashop: Add tags to the product list

Prestashop: Remove View Grid/List buttons from Product Listing

Source: https://www.prestashop.com/forums/topic/337353-remove-view-gridlist-bottons/ Open themes/yourtheme/product-sort.tpl and find this code: <ul class=”display hidden-xs”>     <li class=”display-title”>{l s=’View:’}</li>     <li id=”grid”><a rel=”nofollow” href=”#” title=”{l s=’Grid’}”><i class=”icon-th-large”></i>{l s=’Grid’}</a></li>     <li id=”list”><a rel=”nofollow” href=”#” title=”{l s=’List’}”><i class=”icon-th-list”></i>{l s=’List’}</a></li> </ul> Delete it and buttons will gone.

Posted in templates | Tagged , | Comments Off on Prestashop: Remove View Grid/List buttons from Product Listing

Prestashop: Add style number to product page

Using warehouse theme. When product has combinations, the SKU is shown. I wanted to also show the main product style number for easy reference. https://www.prestashop.com/forums/topic/605088-slovedhow-to-show-reference-numbers-on-product-page/?do=findComment&comment=2540332 {l s=’Style:’} {$product->reference|escape:’html’:’UTF-8′} There are 2 locations to add in ware theme product.tpl

Posted in ecommerce, templates | Tagged | Comments Off on Prestashop: Add style number to product page