Jump to content
thirty bees forum

Yabber

Trusted Members
  • Posts

    160
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by Yabber

  1. If you download product data to GMC from an XML file generated in store, then you can force the download of this data at any time in "Data Sources" configuration. And with the standard GMC configuration, then google updates them once a day, too.
  2. Prestashop templates have a lot of errors when it comes to structured meta data. And unfortunately thirtybees inherited these errors 😞 In product.tpl template the code: <meta itemprop="price" content="{$productPrice}"> correct to: <meta itemprop="price" content="{$productPrice|string_format:'%.2f'}"> And according to google requirements, prices sent to GMC must be with tax: https://support.google.com/merchants/answer/6324371?hl=pl
  3. Uninstall and delete "tbupdater" module, and install "coreupdater" module.
  4. In order-detail.tpl template, modify this code: {if $order->gift} <p><i class="icon icon-2x text-success icon-gift"></i> {l s='You have requested gift wrapping for this order.'}</p> <p><strong>{l s='Message'}</strong> {$order->gift_message|nl2br}</p> {/if}
  5. These columns have no static width. In a responsive table, the width of columns scales dynamically depending on the amount of content in columns.
  6. In my opinion, this preservation of these archival JS and CSS files is completely unnecessary.
  7. Disable "Keep JS and CSS files" option in CCC section and clear cache.
  8. It's worth checking if you have some module from prestashop with security vulnerabilities: https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=prestashop
  9. When installing a module that overwrites blocknewsletter module, I get this error: The following module(s) could not be installed properly: googlecaptcha : Unable to install override: Failed to evaluate override file /home/iwona/public_html/tbshop/modules/googlecaptcha/override/modules/blocknewsletter/blocknewsletter.php: syntax error, unexpected token "extends", expecting "{" at line 2 Code of the file blocknewsletter.php <?php class BlocknewsletterOverride extends Blocknewsletter { public function confirmSubscription($email) { if (Module::isEnabled('googlecaptcha') && ($module = Module::getInstanceByName('googlecaptcha')) && $module->hookValidate('newsletter')) { $module->captchaValidate(Context::getContext()->controller->errors); } if (Context::getContext()->controller->errors) { return false; } return parent::confirmSubscription($email); } } Thirty bees version: 1.6.0 Thirty bees revision: db85aa271005ab890a8c3a9711a3cca9722d5095 Build for PHP version: 8.3
×
×
  • Create New...