Questions tagged [group]
The group tag has no summary.
72 questions
0 votes
2 answers
771 views
chown: invalid group: ‘:apache’
After copying all files / db on my local VB when I tried to setup permissions: find var vendor pub/static pub/media app/etc -type f -exec chmod g+w {} + && find var vendor pub/static pub/media ...
1 vote
2 answers
631 views
How to change price when customer group get change from my account
I need to know how we can achieve this when the user changes its group to another customer group that has a different price. This is working when the user logout and gets login again but I want to ...
0 votes
1 answer
386 views
Object of class Magento\Store\Model\Group\Interceptor could not be converted to int
I'm getting this error : Notice: Object of class Magento\Store\Model\Group\Interceptor could not be converted to int in /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php on line 3065 ...
2 votes
0 answers
37 views
Bundle or Group Product for Digital and physical products
I am having issues trying to allocate a digital product as well as a physical product to be sold in a bundle or group. I have read comments above but it does not help with Shipping costs? If I add the ...
1 vote
0 answers
74 views
How to change customer price group on customer account update?
I have a custom customer attribute (registrationcode), on the registration form when the customer gives a code it automatically set the good group price. How to update the group price when the ...
2 votes
0 answers
41 views
Plugin for customer group
if set "Privileged Customers" group for a customer, than ablity to add vouchers for this customer. Otherwise exception should be thrown with the next message "Customer isn't in a privileged group". ...
1 vote
4 answers
4k views
How to get Magento 2 customer group ID
How to get Magento 2 customer group ID if user is logged in, in a .phtml file? I have already tried with: protected $_customerSession; public function __construct( \Magento\Customer\Model\...
0 votes
0 answers
206 views
Hide old price when group price is setted - Magento 2
I am using magento version 2.3.1 with the "Porto" theme installed. I have set a group price for a product. In the frontend I see the original strikethrough price and the set price for user group. Is ...
0 votes
0 answers
114 views
Magento 2: How can dynamically display Name of Tax Rule on product page
To display Name of tax rule on the product details page I creat a module through this link (Magento 2: How can display Name of Tax Rule on product page). And it's working successfully check below ...
1 vote
1 answer
461 views
Magento 2: How can display Name of Tax Rule on product page
I create two tax rule name rule1 and disability tax ,check below images Now I want to display these two tax rule names on the product page. any help will be appreciated.
1 vote
2 answers
748 views
Run multiple cron groups but not all in magento 2
I wanted to run the following way. php bin/magento cron:run --group="test_group1","test_group2","test_group3" OR php bin/magento cron:run --group="test_group1,test_group2,test_group3" What is the ...
0 votes
0 answers
232 views
Magento2: Date Interval Issue in Custom Report
I am creating a custom product viewed report. I am facing issue in interval column. Below is my collection $collection = $this->customreportsFactory->create()->getCollection(); $collection-...
0 votes
1 answer
162 views
how to override private function in sales module
I am trying to override this following function. /** * Extract the form values from attributes. * * @param array $attributes * @param int $storeId * @return array */ private function ...
0 votes
0 answers
112 views
M2 - Get attribute group name
With the code below I can load all the attributes from a specific group, in this case attribute group with id: 37 <?php $av_attribute_group = $_product->getAttributes(37); foreach ($...
2 votes
1 answer
984 views
How can get All Attribute of a specific Group in magento2
In constructor inject dependency protected $productAttInterface; \Magento\Catalog\Api\ProductAttributeManagementInterface $productAttInterface $this->productAttInterface=$productAttInterface; and ...