Jump to content

dskarbek

Members
  • Posts

    10
  • Joined

  • Last visited

Profile Information

  • First Name
    Darek
  • Last Name
    S

dskarbek's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. Hi, I would like to set the type of feature for product - as it is for attribute (color...). I was looking for some module / extension for Prestashop, but I failed. Did someone hear about this kind of extension? Thanks for answering, Darek
  2. Wiem, że stary temat, ale miałem podobny problem "no http response". Problemem okazały się ustawienia w Zaawansowane->Wydajność. Wyłączyłem: Inteligentna pamięć podręczna dla JavaScriptMove JavaScript to the end i śmiga.
  3. Panie Piotrze, piwo dla Pana Dziękuję za pomoc. Faktycznie w koszyku w podsumowaniu było netto....
  4. I didn't want to remove, just not display in presta 1.6. It is what i did: in product-list.tpl change line: <div class="button-container"> to <div class="button-container" style="display:none"> Best regards, Darek
  5. Hi, I found this module. Maybe it will help. I am waiting for response from developers, if I will get the answer I will install it and put some information here... Best regards, Darek
  6. Hi, Add color as atribute for product. In my theme it works. (default-theme). Best regards, Darek
  7. Hi, Thank you. It works. The only thing I modified was a line: $sub=new Category(intval($subcategory['id_category']),intval($cookie->id_lang)); to: $sub=new Category(intval($subcategory['id_category']),intval($this->context->language->id)); Best regards, Darek
  8. Hi Michał, Dziękuję bardzo I modified my function and it works. I did in override/classes/Tools.php: class Tools extends ToolsCore{ public static function getContent($id_cms){ $cms = new CMS($id_cms, intval(Context::getContext()->language->id)); return $cms->content; } } And in product.tpl: <div id="delivery" class="rte" style="display:none">{Tools::getContent(1)} and it works. Thank you again Best regards, Darek
  9. Hi, I try to add CMS content in product.tpl file. I create file: override/classes/Tools.php with data: <?php /** * Tools override class */ class Tools extends ToolsCore{ public static function getContent($id_cms){ $sql = 'SELECT l.`id_lang`, c.`content` FROM `'._DB_PREFIX_.'cms_lang` AS c LEFT JOIN `'._DB_PREFIX_.'lang` AS l ON c.`id_lang` = l.`id_lang` WHERE c.`id_cms` = '.(int)$id_cms.' AND l.`active` = 1'; $page = $DB::getInstance()->getRow($sql); return $page['content']; } } In product.tpl I tried this: <div id="delivery" class="rte" style="display:none">{Tools::getContent(1)} Unfortunatly it doesn't work... Can you help me? Best regards, Darek
×
×
  • Create New...