New answers tagged

0 votes
Accepted

Creating configurable product attribute with magento > 2.4

ok, it took me quite some testing, but to save the attribute, you need to use the class Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable\Attribute I use $this->...
user avatar
  • 383
0 votes
Accepted

Cannot Update EAV Unique Attribute

I figured out the cause of the issue, and it is kind of a confusing thing to have in Magento. In setting up the attribute, unique code is used to set up the attribute. However, this code in the ...
user avatar
-1 votes

Show a Text if attribute is set to "yes"

Based on tags I guess you have an issue with loading product data on checkout cart page and let me explain 2 possible way to solve Magento loads restricted attribute list for category collection or ...
user avatar
0 votes

exclude some other product in the cart from receiving discount

I think the question is still not clear, but i want to suggest one thing about processing product attributes in cart. Boolean value should be stored as 1 or 0/null. If you want to load your attribute ...
user avatar
0 votes

exclude some other product in the cart from receiving discount

<?php namespace Test\Module\Helper; use Magento\Framework\App\Helper\AbstractHelper; class Product extends AbstractHelper { protected $productRepository; ...
user avatar

Top 50 recent answers are included