Jump to content

razaro

Global Moderators
  • Posts

    2,540
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by razaro

  1. Looks like that bug is fixed. Check https://github.com/PrestaShop/PrestaShop/blob/1.6/classes/Manufacturer.php#L211 and use code from line 211 to 216 if (count($counts)) foreach ($manufacturers as $key => $manufacturer) if (array_key_exists((int)$manufacturer['id_manufacturer'], $counts)) $manufacturers[$key]['nb_products'] = $counts[(int)$manufacturer['id_manufacturer']]; else $manufacturers[$key]['nb_products'] = 0; instead of what you probably have now in classes/Manufacturer.php if (count($counts)) foreach ($manufacturers as $key => $manufacturer) $manufacturers[$key]['nb_products'] = $counts[(int)$manufacturer['id_manufacturer']];
  2. Sorry no other ides, still looks like Watermark module. Try to uninstall it, not just disable. Then clear cache and then regenerate images.
  3. Hmm strange but was a guess. Can you post link to your site ?
  4. You probably have Watermark module enabled. Try to disable and regenerate images again.
  5. @ isabella_brown Are you using Prestashop Cloud ? What is link to your store ? And maybe you can make screenshot of that error.
  6. @ isabella_brown You have same problem ? What module have you bought ?
  7. You need to have div with id center_column in your header.tpl because it is used in jQuery after button is clicked. Check https://github.com/PrestaShop/PrestaShop/blob/1.6/themes/default-bootstrap/header.tpl and https://github.com/PrestaShop/PrestaShop/blob/a2cd4dc5101eaa47c8399a5da7e20319fb1ef0bb/themes/default-bootstrap/js/authentication.js
  8. Try to enable debug mode, there must be some errors. To do so open file config/defines.inc.php (using FTP or hosting control panel) define('_PS_MODE_DEV_', false); change false-->true: define('_PS_MODE_DEV_', true); Now visit page(s) with issues and you should see some error message. Think you should clear cache, disable CCC for js and css, and also if you have any caching module or service, clear cache there. For homepage most blocks are hidden, with jQuery or CSS but pslider block is empty maybe because of some error. Also I noticed link to category you posted is not using friendly url , but links to products are. So check settings in Preferences > SEO & URLs, try to enable Friendly Urls. And do not blame webdesigner for errors, and for permission to change settings, well maybe but note clearing cache or changing any option there should not make these big changes and error. They were there even before any option has been changed.
  9. You need to add data-id-product to anchor so try with <div class="produitpageproductlist_cart"> <input type="hidden" name="qty" id="quantity_wanted_{$product_id{$i[spam-filter]" value="{$minimal_quantity_{$i[spam-filter]"> <a class="ajax_add_to_cart_button" rel="ajax_id_product_{$product_id{$i[spam-filter]" href="{$base_dir}/index.php?controller=cart&add=1&&qty=6&id_product={$product_id{$i[spam-filter]&token=edd23a39176f5b38b4ba6a45d725d5f7" data-id-product="{$product_id{$i[spam-filter]" title="Ajouter au panier"><img src="{$base_dir}/modules/produitpageproductlist/cart.png"/></a> </div>
  10. Yeah bit strange but try to rename file itself , usually it is done in lower-case, so datasheetpro.php. Edit: sorry bit late, did not saw previous message.
  11. Any clue ? Well it says " Method _construct in table Customer is already overloaded." W So that means you already have some module that overrides customer class and construct method in that class. You can solve that in different ways, one is to rename override/classes/Customer.php to _Customer.php before installing a module. Then you would have no problem installing it. But to make other module work you need to merge code from _Customer.php with one Module installs. So from public function __construct($id = null) { $this->id_default_group = (int)Configuration::get('PS_CUSTOMER_GROUP'); self::$definition['fields']['username'] = array('type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'size' => 32); parent::__construct($id); } Make sure merged code have these lines $this->id_default_group = (int)Configuration::get('PS_CUSTOMER_GROUP'); self::$definition['fields']['username'] = array('type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'size' => 32); parent::__construct($id); and make sure you do not have 2 same lines with parent::__construct($id); from other modules code. (just guessing)
  12. Displaying subcategories should be enabled by default. See if module theme configurator is installed and in settings see if maybe in its options, Display subcategories is enabled. If you have custom theme check if category.tpl have this code {if isset($subcategories)} {if (isset($display_subcategories) && $display_subcategories eq 1) || !isset($display_subcategories) } <!-- Subcategories --> <div id="subcategories"> <p class="subcategory-heading">{l s='Subcategories'}</p> <ul class="clearfix"> {foreach from=$subcategories item=subcategory} <li> <div class="subcategory-image"> <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}" title="{$subcategory.name|escape:'html':'UTF-8'}" class="img"> {if $subcategory.id_image} <img class="replace-2x" src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium_default')|escape:'html':'UTF-8'}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {else} <img class="replace-2x" src="{$img_cat_dir}{$lang_iso}-default-medium_default.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {/if} </a> </div> <h5><a class="subcategory-name" href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}">{$subcategory.name|truncate:25:'...'|escape:'html':'UTF-8'}</a></h5> {if $subcategory.description} <div class="cat_desc">{$subcategory.description}</div> {/if} </li> {/foreach} </ul> </div> {/if} {/if}
  13. It does not work like that. When you install your module it copies code from your modules AdminOrder file to one in override folder. So if you are still developing module just work on one in override folder and when you are done include that in module folder.
  14. Documentation for helper class is here http://doc.prestashop.com/display/PS16/Using+the+HelperForm+class but true it does not have all elements explained detailed. But you are right using 'autoload_rte' => true, should be enough. You can check code on github, like in Admin controller https://github.com/PrestaShop/PrestaShop/blob/1.6/controllers/admin/AdminCategoriesController.php or in module https://github.com/PrestaShop/editorial/blob/master/editorial.php
  15. There is option in module's configuration page "How many footer columns would you like?" try that to set to 2 or 3. But also think you will need some file editing. In your theme/modules/blockcategories folder edit tpl file and change <section class="blockcategories_footer footer-block col-xs-12 col-sm-2"> to <section class="blockcategories_footer footer-block col-xs-12 col-sm-5"> to make id wider. So col-sm-5 or 6,7.
  16. In back office go to Modules > Positions and find hook Footer. There drag and drop block categories module to first place. It should help to get look how it was.
  17. It indicate to use link with SSL (https), by setting ssl parameter to true https://github.com/PrestaShop/PrestaShop/blob/ef462f8767559ce721889354ad292a2cc5e5fc81/classes/Link.php#L432
  18. Try to add module zip file in back office. http://doc.prestashop.com/display/PS16/Modules+and+Themes+Catalog#ModulesandThemesCatalog-Installingamodule http://addons.prestashop.com/en/content/21-how-to
  19. Add clear:both; line at global.css in your theme css folder in line 595 #footer { color: #FFF; background: none repeat scroll 0% 0% #B4C600; box-shadow: 0px 0px 0px 10px #B4C600; clear: both; }
  20. Well issue with attributes on product list is that you could have 10, 20, 50 products in list and if each have couple of attributes that generate 100, 200 1000 combinations. So it could slow down a page a bit. In your case there are not many products/combinations so you are safe. For other things, bit off topic, yeah it is not perfect and have issues, and some businesses need features that are not there. OPC I agree and think it have lot of votes on Forge to be improved. Invoice billing yeah think there are some paid modules, and not sure if any partner free module have that.
  21. Ah on product list page, sorry. Yes that is set just for color, and like I suggested maybe to try to change length attribute from dropdown to color, but add image with 2m, 5m , 10m text. Then it will show "color" at product list page. But you would need those boxes bit bigger. Other solution is some of paid modules, think there are 2-3 similar that display attributes on product list so dropdown or radio,and some other options. Like https://www.prestashop.com/forums/topic/79758-module-product-list-attributes-allow-selection-of-attributes-on-category-manufacturer-search/ but think there are few more.
  22. Sorry maybe I am not following all correctly. You want for that HDMI Kabel to display all available lengths, like 2m, 5m, 10m ? Do not think customers have issue with dropdown but you can change that. Set length attribute group to display as radio buttons so options are seen, or even you can set it as Color or texture, but use small images with text 2m, 5m, 10m on them.
  23. Can you make screenshots of Quantity tab for both products. To me it looks like blue powerbank is default combination and qty is 0 so it display that message on product list. Kabel have all combinations qty greater then 0.
  24. Bit strange, but try this. In folder /themes/showersurfer-new/ backup first then delete sass folder. And in css folder check global.css and also there should be backup od before update so maybe you could try theme from it.
  25. You know link could be helpful , form image not much can be said. Could be box-shadow on two elements, or it could be image.
×
×
  • Create New...

Important Information

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