Jump to content

AperoCD

Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Location
    Kelowna
  • Activity
    Freelancer

Recent Profile Visitors

312 profile views

AperoCD's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. Just a warning, be particularly careful applying any of these suggestions. There's a LOT going on behind the admin screens when those save buttons are spinning. It's best to get a developer to debug the issue properly.
  2. Great ideas. So the module simply runs Category::regenerateEntireNtree(); and looking through the site, this function is also run when a category is imported via csv AND from the PSCleaner "PrestaShop Cleaner" module under FUNCTIONAL INTEGRITY CONSTRAINTS Check & Fix.
  3. Here's a more generic solution we use for multi-shop where we don't necessarily know the hostname in question: RewriteCond %{HTTP_HOST} !^$ RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
  4. Thanks. So that's pretty much what I've got in my module. The validator site comes back and says base64_encode() method is forbidden. Is there an alternative we're supposed to use?
  5. Working on posting a module to the addons site, the validator is failing due to the use of the base64_encode() function. This function is required to encode a curl header with authentication to a payment gateway. Is there a supported alternative to this function? Thanks!
  6. It looks like you're mistyping the function name. It's Tools::jsonEncode() and not Tools::json_ecode()
×
×
  • Create New...