Jump to content


Global Moderators
  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by razaro

  1. 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.
  2. 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>
  3. 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.
  4. 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)
  5. 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}
  6. 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.
  7. 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
  8. 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.
  9. 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.
  10. 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
  11. 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
  12. 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; }
  13. 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.
  14. 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.
  15. 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.
  16. 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.
  17. 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.
  18. 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.
  19. I think you can sell module on your website but price for it can not be less then on Addons. Not sure but check https://addons.prestashop.com/pdf/terms/020213_CGV_CONTRIBUTEUR_ADDONS_EN.pdf should have some clarification.
  20. razaro


    You have custom hook that is needed to be added manually in tpl file ? I saw few different ways that developers deal with that problem. Some create backup of original file and then replace tpl with file that contains custom hook. But that works for default theme only so other solution is to have check in modules back office. That will see if specific code is there in tpl file and warn user to add code manually with detailed instructions. Where you need that hook, maybe is possible to use some existing ?
  21. First link from Google http://stackoverflow.com/questions/25526949/adding-products-to-prestashop-1-6-0-9-with-webservice maybe could help.
  22. Well Prestashop is constantly improved, code is changing everyday. And that is development version. When enough things changed they prepare release version for example, that is available for users to download/upgrade. And they continue to work on developer version.
  23. You do not need those files in your store, maybe it is some bug or you got development version of Prestashop. You could see them here https://github.com/PrestaShop/PrestaShop and they are Github related files.
  24. Function addJS do not have other parameter ,'all', and see if your js files are loaded in front office. Also maybe to try hook displayHeader and check code id homeslider module that comes with Prestashop.
  • Create New...

Important Information

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