boolfly / product-label Goto Github PK
View Code? Open in Web Editor NEWProduct Label for Magento 2 platform
License: Open Software License 3.0
Product Label for Magento 2 platform
License: Open Software License 3.0
Version: 1.0.2
Steps:
==> var/log/debug.log <==
[2020-11-17 07:32:47] main.ERROR: DateTime::__construct(): Failed to parse time string (16/11/2020) at position 0 (1): Unexpected character [] []
In Magento 2.4.5-p1 there is an issue in admin grid on click of Add Rule and Admin grid is not showing the correct grid data.
Issue 1 error : Deprecated Functionality: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/pdc/vendor/magento/module-price-permissions/Observer/AdminhtmlBlockHtmlBeforeObserver.php on line 125
Exception in /var/www/html/pdc/vendor/magento/framework/App/ErrorHandler.php:62
Hi,
This is more a question or a feature request: is it possible to create a rule to automatically add the labels to either NEW products (news from/to attribute set) or products IN SALE (which have an active special price).
Thanks
Hi,
we created a new Product Label rule. After that if we want to edit, there's only this text displayed in Rule Manager:
Not registered handle boolfly_label_rule_listing_data_source
Under Boolfly icon there's nothing available as well.
Hello @mrkhoa99 ,
Hope you are doing good, We are using the EE 2.4.0 and the issue we are having is when we use the condition for attribute sku with any condition the data saving in the boolfly_productlabel_product_index_rule table is using the product row_id and not the entity_id.
Is that possible to fix this issue and use entity_id instead ?
Below is the fix and to be applied on the function used in below files
boolfly/module-product-label/Helper/Rule.php
boolfly/module-product-label/Model/Condition/Sql/Builder.php
boolfly/module-product-label/Model/Indexer/Full.php
boolfly/module-product-label/Model/Indexer/Row.php
private function getProductIdentifierField()
{
if ($this->productEntityIdentifierField === null) {
$this->productEntityIdentifierField = $this->getMetadataPool()
->getMetadata(ProductInterface::class)
->getIdentifierField();
}
return $this->productEntityIdentifierField;
}
Kindly let me know in case you want me to create a commit instead if I find something
Hi,
First of all, thanks for this module. However, it is not possible to install it:
May I ask if you're planning to fix this?
Thanks!
after save the rule i got these error
SQLSTATE[42S02]: Base table or view not found: 1146 Table '.boolfly_productlabel_product_index_rule' doesn't exist, query was: DELETE FROM boolfly_productlabel_product_index_rule
WHERE (rule_id = '5')1 exception(s):
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.