Questions tagged [group]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
11 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
0answers
9 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
0answers
38 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 ...
0
votes
0answers
36 views

Hide phtml content programmatically in Magento 2

I need to Hide custom button from frontpage checkout page checkout/cart/ programmatically "customer group" based. Location of .phtml file is vendor/module/view/frontend/custom.phtml and ...
2
votes
0answers
24 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". ...
0
votes
4answers
165 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
0answers
22 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
0answers
38 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
2answers
135 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
1answer
98 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
0answers
25 views

Magento 2 Group with a custom extra field

I'm using Magento 2 and I've created 2 customer groups. I would need an extra field for one of those, an extra input text that gets the extra info.
0
votes
0answers
55 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
1answer
32 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
0answers
59 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
1answer
65 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; ...
1
vote
1answer
489 views

Magento 2 : toggle whole group in system.xml based on field in another group

I have created two groups in system.xml. I need to show/hide group 2 depending on the "Module Enable" field in group 1. But when I use the following code it hides both the sections and does not save ...
0
votes
0answers
24 views

Magento2: How to set minumum order price for specyfic group

I see Magento provide possible set minimum order qty. For specific group. But how to set minimum order price for specific group? I see is available option only set for all groups minimum order price ...
2
votes
1answer
129 views

Inside admin when i click on system i'm throwing an error on m2 2.2.5

I've tried to change the ID name but it did not work. 1 exception(s): Exception #0 (InvalidArgumentException): Element with id "system_cron_template_use_separate_process" already exists Exception #0 ...
0
votes
1answer
707 views

Magento 2.1 - display attribute group name

How can I display the group names above the attributes. I found the solution for Magento 1 but not for Magento 2. Group 1 att 1 att 2 att 3 Group 2 att 4 . , I am using Porto theme on magento 2.1.
3
votes
1answer
166 views

Change add to cart button based on customer group

Can anyone explain me how and where I can customize the add to cart button functionality based on the current customer group? I’d like to show a popup or redirect to a CMS page but only for a specific ...
1
vote
1answer
241 views

How to hide free shipping for user group

I inherited a highly customized Magento-store. One of the modifications was to hide the free shipping method from one of the customer groups at checkout. I want to undo this modification, so all ...
3
votes
3answers
3k views

Magento 2: Load customer group by customer group name?

How to load customer group by customer group name in Magento 2? I am using below code in M1: $companyClass = 'General'; $groupObj = Mage::getModel('customer/group')->load($companyClass, '...
0
votes
1answer
161 views

Magento 1.9.3 Won't save customer group prices

I was assigned a Magento 1.9.3 project that would take in products in JSON format, and save customer group prices. However, even though there are no errors, nothing gets saved. The group prices won't ...
1
vote
0answers
751 views

How to manage custom attributes in group customer

i'm new in the magento world (and php community). I want to add some attributes to custom group in magento 2.2 I've created a new attribute by setup (his name is : 'exchange_id') : use Magento\...
0
votes
0answers
85 views

Grouping Ordered items in Sales->Order View

Where and what do I need to adjust to group this based on the first word of the Product Name? So that If ever I placed an order again using WORD IPHONE it will be under the 3rd line which is iphone.
0
votes
1answer
378 views

Customer group redirect to specific home age

Magento version - 2.1.9 Issue - We have a clothing store where we have 6 to 7 customer groups so what we are looking for is instaed of having same home page for every custom group we want to show a ...
1
vote
0answers
533 views

Magento sales_order_grid + join concatenated results from other query

We have some queries / extensions adding columns to the sales_order_grid as a 1:N relation. Normally 1:1 relations work fine. 1:N relation need a group by statement on increment_id and use ...
3
votes
1answer
600 views

Change currency according to customer group

My base currency is USD. I want to change according to customer-group i.e. If customer group "Retailer" the currency =EUR. So far I managed to get customer's group code: $groupId = Mage::...
2
votes
2answers
2k views

How to assign customer group automatically based on address information

How to assign customer group automatically following by address information When customer register on our website, customer write the country where they live. If customer live in United State, we ...
1
vote
1answer
132 views

experience total not working by group function in collection

doctor_id | start_year | end_year 2 | 2008 | 2012 2 | 2012 | 2015 5 | 2010 | 2013 5 | 2013 | 2016 above is mysql table doctor_experience I ...
1
vote
1answer
763 views

Import group price from CSV files for Magento

Import group price from CSV files for Magento , Hi Please help me to import Group price in magento
0
votes
1answer
4k views

Magento 2 How to set group by in Collection query?

I have followed Magento 2 use group by in collection I need to run below query SELECT * FROM my_table WHERE status= 'Enable' GROUP BY id ORDER BY id DESC In collection factory i have below code $...
0
votes
2answers
1k views

Group price for product

I have create 4 group of customer and try to set group price for each group in product but i dont see any group price section in product and I want to add customer group wise price for particular ...
0
votes
2answers
4k views

I am getting an error General error: 1111 Invalid use of group function. What am I doing wrong?

I have this code $orderModel = Mage::getModel('sales/order'); $ordercollection = $orderModel->getCollection() ->setPageSize(20) ->setCurPage(1) ->join(array('...
0
votes
1answer
129 views

Magento 2 How to create another group like the Related Products one?

I'm using Magento 2 and I'm trying to create another group, like the related products one , so when I'm on the product page , and I slide to bottom , I'm able to see both groups, Related products on ...
7
votes
1answer
9k views

Magento 2 use group by in collection

I've got a collection from the factory method getCollection(). The problem is that when I use get_class_methods($class) to list all the methods that the collection possesses I can't seem to find one ...
1
vote
2answers
27 views

Is there a way to create user groups?

I was looking for some extension that could give this possibility, but I did't find anyone. Has anyone had this need? How do you solved? Those groups would be for example: attendants, it, managers, ...
1
vote
2answers
864 views

Customer Group Invalid login and/or password error

I've created two customer groups called "Vendor" and "PRO". Users from these two groups should also be able to login from Magento Front End. My problem is only users from "General" group is able to ...
0
votes
1answer
74 views

Show price with customer group vat on product page

I created an user group, it is associated with a different tax class ("reduced") compared to standard clients. When I open a product (I'm logged in as a user of the "reduced" fee), I see the price ...
1
vote
2answers
2k views

Magento users/permissions web server & group

So a prior question led me to this, I am trying to use Magento2, (very frustrating) I have a VPS, with all the proper things for Magento2 to run. I can install it but have huge permissions issues, ...
0
votes
1answer
507 views

Magento 2 how to make group attribute in customer info multiselect?

How to make it to allow customers belonging to multiple groups? Any suggestions will be appreciated. Thanks.
1
vote
0answers
27 views

How to generate Invoice like price group items x quantity x tax

How can I generate invoice like items in the same price x qty, tax% and subtotal.
0
votes
2answers
480 views

Wrong group_id when trying to programmatically adding group to customer

I created a module in order to add a group to a customer depending on his profession (I added a field where he can choose between different professions). <?php class ...
0
votes
1answer
455 views

How to display Attribute Group Name on compare page?

I used this guide and was able to display the attribute group name on the product page, but I'm wondering how to do the same on the compare page ? I'm using magento ce 1.9.2.1 with custom Porto theme ...
0
votes
1answer
116 views

Get all attributes group of a specific resource model?

How I can get all attributes group name of a specific eav resource model?
1
vote
0answers
32 views

how can i show group attribute name in product page? [duplicate]

i am using magento 1.9.1.1 i am showing attributes in product page but that list without showing attribute's group name how can i show Group attribute name with that attributes ?
2
votes
1answer
606 views

Group (Wholesale) Pricing Not Displaying on Product Page

I have Configurable products with Associated Products attached. It's essentially just dresses in different sizes, and colors. However, when I added "Group" pricing for our wholesale customers, it only ...
1
vote
0answers
47 views

Simple Product group options

I have to options size and colour for a simple product. I want to group some of the options of colour, e.g, reds, greens, blues, and show multiple swatches for each of them.. 3 reds, 4 blues, 2 ...
1
vote
1answer
507 views

The Guest user email is not displaying in Sales ->orders tab when he/she is in General group.I am using magento CE 1.9 [closed]

when a customer is checking out as guest and by default he/she goes into General group.But his email is not showing up Sales -> Orders tab .
1
vote
1answer
290 views

Group collection by first letter

I am trying to return a collection of brands in Magento that are grouped by the first letter of the title attribute. I have this but it results in a 500 error on the page in question: public function ...