clerkio / clerk-prestashop Goto Github PK
View Code? Open in Web Editor NEWPresta Shop extension for Clerk.io
License: MIT License
Presta Shop extension for Clerk.io
License: MIT License
trying to use $language variable after any clerk hook results in the global $language object that prestashop defines in being overridden by clerk module with only the language name
Module ins't compatible with Prestashop 8.X.
Module is using Attribute
class instead of ProductAttribute
.
Since php 8 Attribute
is reserved word. To make this module compatible with Prestashop 8.X this code have to adjusted with backwards compatibility for Prestashop < 8.
on_sale flag is using the old Prestashop 1.4 show on sale icon, it should look if there are a specific price on the product instead.
Version Version 6.8.1 It does not work with PrestaShop Version 1.7.8.10
The code is not working on php 5.4
change
$this->shop_id = (! empty(Tools::getValue('clerk_shop_select'))) ? (int)Tools::getValue('clerk_shop_select') : $this->context->shop->id;
to
$this->shop_id = Tools::getIsset('clerk_shop_select') ? (int)Tools::getValue('clerk_shop_select') : $this->context->shop->id;
$this->language_id = (! empty(Tools::getValue('clerk_language_select'))) ? (int)Tools::getValue('clerk_language_select') : $this->context->language->id;
to
$this->language_id = Tools::getIsset('clerk_language_select') ? (int)Tools::getValue('clerk_language_select') : $this->context->language->id;
And
if (! empty(Tools::getValue('ignore_changes'))) {
return true;
}
to
if (Tools::getIsset('ignore_changes')) {
return true;
}
It should not include inactive categories and products in the export (look at active flag and also on the flags for where to be displayed and if possible to buy).
Hi,
Loop problem with url '/modules/clerk/clerk_log.log' in back-office configuration page.
The problem persists if file not exist and if it exists (with log active and access set to 'file').
Do not call clerk_log.log file in loop
Steps to reproduce the behavior:
Screenshots
Just a friendly heads up/reminder that Prestashop 9 is in the works with an expected release date in Q1 of 2024.
Please be a head of developing process by installing Prestashop 9 (allready downloadable) and make the necessary adjustments in the Clerk.io module so the webshops can be updated short after the release of Prestashop 9.
Just to prevent a development disadvantage of 1 year like the compatibillity with Prestashop 8.
Good evening,
I have installed on my prestashop 1.7.8.6 last version of your module 6.6.0
I need to include all product feature for boost some products and I have enabled in the module configuration the option "Include Product Features"
After the full sync with clerk.io seems that no features is included.
I tried to disable "Include Product Features" and start a new sync with clerk.io and all feature are present but time by time almost every product lose all the prestashop features previously included. If i restart the sync manually all features are coming back on clerk.io but after some time features are not present again..
Can you check if this functionality is fully working in 6.6.0 and not bugged?
Thank you
Good evening,
I have downloaded the module using the github repository and installed the zip on my prestashop... The version is 6.6.1 not officially released.
I noticed that after updating the module from 6.6.0 to 6.6.1 on category pages were missing recomanded products "Best in this category".
If i revert the module to 6.6.0 recomanded products in category page are present.
Thank you
Aggiungere all'elenco dei dati del prodotto il link alla pagina del Brand.
Piccolo esempio:
private static function getLinkBrand($language_id, $product_id, $context){
$product = new Product($product_id, $language_id);
$manufacturer = new Manufacturer($product->id_manufacturer,$language_id);
return $context->link->getManufacturerLink($manufacturer->id);
}
ERROR 2022/10/25 - 09:28:33: Array and string offset access syntax with curly braces is no longer supported at line 124 in file modules/clerk/controllers/admin/Clerk-Api.php
PHP8
I get errors like:
Uncaught TypeError: $(...).staccordion is not a function
at HTMLDocument.<anonymous> (theme.js:436)
at c (core.js:39)
at d (core.js:39)
..causing other functions in the PS frontend to stop.
Deactivating the module stops the errors.
Stack Owerflow answers is suggesting jQuery being loaded more than once can cause such errors.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.