Jump to content

Holohugo

Members
  • Posts

    39
  • Joined

  • Last visited

Profile Information

  • Location
    Prague
  • First Name
    Dominika
  • Last Name
    Bělová

Recent Profile Visitors

1,040 profile views

Holohugo's Achievements

Rookie

Rookie (2/14)

  • Dedicated Rare
  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done Rare

Recent Badges

6

Reputation

  1. Its wrong cache key in ps_categoryproducts. This issue is there even for ps_viewedproducts module, especially for people using Warehouse theme, but its not related to the theme, but to the smarty cache (it works if its turned off). Simple solution is to disable smarty cache funccionality for those modules. Products in the same category: modules/ps_categoryproducts/ps_categoryproducts.php and find renderWidget function and replace it with following (cache is commented out) public function renderWidget($hookName = null, array $configuration = array()) { $params = $this->getInformationFromConfiguration($configuration); if ($params) { if ((int)Configuration::get('CATEGORYPRODUCTS_DISPLAY_PRODUCTS') > 0) { // Need variables only if this template isn't cached //if (!$this->isCached($this->templateFile, $params['cache_id'])) { if (!empty($params['id_category'])) { $category = new Category($params['id_category']); } if (empty($category) || !Validate::isLoadedObject($category) || !$category->active) { return false; } $variables = $this->getWidgetVariables($hookName, $configuration); if (empty($variables)) { return false; } $this->smarty->assign($variables); // } return $this->fetch( $this->templateFile ); } } return false; } Viewed products: modules/ps_viewedproducts/ps_viewedproducts.php and find renderWidget function and replace it with following (cache is commented out) public function renderWidget($hookName = null, array $configuration = array()) { if (isset($configuration['product']['id_product'])) { $this->currentProductId = $configuration['product']['id_product']; } if ('displayProductButtons' === $hookName || 'displayProductAdditionalInfo' === $hookName) { $this->addViewedProduct($this->currentProductId); return; } if (!isset($this->context->cookie->viewed) || empty($this->context->cookie->viewed)) { return; } // if (!$this->isCached($this->templateFile, $this->getCacheId())) { $variables = $this->getWidgetVariables($hookName, $configuration); if (empty($variables)) { return false; } $this->smarty->assign($variables); // } // return $this->fetch($this->templateFile, $this->getCacheId()); return $this->fetch($this->templateFile); } I have this fix on my 1.7.8.1 with PHP 7.4 and it works like a charm
  2. Well i rebranded and it just seems like a good idea to move up. Also some of the stuff we were using started to be really outdated and not maintained anymore. I was also told its faster.
  3. Hello! PS 1.7.8.1, PHP 7.4 Im using Warehouse theme and i have problem with English translation files for it. Theme is looking for en_US, but i have in my shop installed en_GB. There was never en_US in my shop. This affect translation (i cant access EN translation from BO) and mail templates also. Is there a way how to force my theme to use en_GB? I tried to crawl files for any en_US string to change it manually, but it seems it doesnt have any. When i add en_US folder manually, translations are accessible again from BO, but none of the changes are visible in the shop, since that uses en_GB. Any advice on this? Thank you!
  4. Hello. I finally started using 1.7 after 6 year of 1.6, and i have 2 simple newbie questions. 1) Do i really need to click every single one of the attributes, i wanna add to the attribute generator? In 1.6, there was shift click available, but now i need to click one by one, which is REALLY annoying. Is there any trick to this? Like select all in group, or select just multiple groups as they are? LIke for example i use all the SIZES in size group for all the products. Clicking one by one everytime is just...sad. 2) Language selector is really only one at the top? So when i wanna fill, for example, custom label for "out of stock items", i need to scroll thru all the created combinations, and this 4 times, since we have 4 laguages? I really enjoy some of the features of 1.7 over the 1.6, but the product editor is horrible right now. Thank you.
  5. Tried all version of PHP from 5.6 to 7.4 Upgraded PS to latest version 1.7.7.6 Tried to disable all overirides and modules. Nothing work. I cant restrict payment methods at all by nothing. Not by country, not by currency, not by group and not by carrier. I would really appreciate any help with this. Thank you.
  6. Problem persist, we tried everything we found online. We cant restrict payment method to anything. They just show all the time. I cant even restrict them to certain countries and crrencies. Please, is there anyone who could help?
  7. Im using PS 1.7.6.7 and i can't restrict certain payment methods to carriers. I set everything up at the bottom of the payment > configuration page, but the effect is not applied, all payment methods is shown with all carriers. I cleared the cache. I tried to run debug mode. I disabled all overrides and modules. No matter what i do, it shows all methods. Kindly asking you for help, if you know where to look at. Thank you. Im on PHP 7.2.
  8. Hello, Im looking for a way to enable footer.html and header.htm FOR EMAILS. I noticed that in every lang folder for emails have its template for header and footer, but those are not active and every email template is just one file (payment.html for example). How do i enable those to actually work? So all my emails with same language will have same header and same footer? Im totally failing to find anything about this, but the templates are there, so i think it should be somehow possible. I want my emails to be assembled like this (payment.html is a placeholder): HEADER.html payment.html FOOTER.html Thanks for advice
  9. I love you! Thank you, wasnt able to figure this out for a long time! Thank you!
  10. Im sorry to say, but up until now, i was unable to fix it or find what that is. Its impossible to recreate this error anywhere where i can inspect it and it just pops out of nowhere on random devices. If you figure that out, let me please know
  11. Hello. Im using PS 1.6.1.13, Warehouse theme. For approx half a year, there is black vertical line in push menu on mobiles. What is wierd it is on the mobiles only. Ios and Android, all kinds of browsers. Some phones are not showing it, i was unable to find out why. Im absolutely unable to recreate this error on PC, and inspect the element to find out what is causing that, its exclusive only for mobiles. I search thru all the files asociated with the menu, but i cant find anything. Is there anyone who could recreate it on the PC, or somehow inspect the element to tell me what is that? I can then easily hide it or make it transparent. Would be eternaly gratefull if someone can help me with this Thank you
  12. Hello, im using PS 1.6.1.13. I wanna have button MORE in category description, that will show more content without the symbol limit. I need the button just to show some extra div with content, like below. Thanks for any help <div class="ALWAYS-VISIBLE-DESCRIPITON"> content of any length </div> <div class="VISIBLE-AFTER-CLICK-ON-MORE-BUTTON"> content of any length </div>
  13. Thank You! But can i format data in database or the output? If its tored in one table, i cant formate it, right?
  14. Hello product_name is carring attributes group and attribute value whenever is displayed. I need to strip it into lines like: NAME </ br> Attr. group1 and Value </ br> Attr. group2 and Value </ br> I need this for my PDF invoices, where everything is in one line, creating a mess. A dont need it enywhere else, only on invoice. In invoice.product-tab.tpl file, there is: <span style="font-size:10pt;">{$order_detail.product_name}</span><br/> <span style="font-size:8pt;">{$order_detail.product_reference}</span> I tried to find whatever product_name variable within the site files, but i could not find the one that is covering the format, or that would allow me to break line between actual name, and and attributes group. Can someone please point me to the right direction? I would accept even anY other solution to this Thank you
  15. Have you find out how to do this? Need that too, cant find any working solution Thank you
×
×
  • Create New...