We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I use a csv like "sku","group_price:NOT LOGGED IN", "sku1","10.99"
Every time I run my profile, it creates multiple customer group prices under the same product called "NOT LOGGED IN".
I haven't had any time to dive into the processor, but was wondering if anyone else had seen this
The text was updated successfully, but these errors were encountered:
I have figured out whats going on here.
$id = $this->selectone($sql, $groupname, "customer_group_id") returns a zero if the customer group is "NOT LOGGED IN" because the id is zero.
On line 115
if ($id = $this->selectone($sql, $groupname, "customer_group_id")){ $this->_groups[$col] = array('name'=>$groupname,'id'=>$id); } else{ if($groupname == 'NOT LOGGED IN'){ $this->_groups[$col] = array('name'=>$groupname,'id'=>$id); } else{ $this->_groups[$col] = array('name'=>$groupname,'id'=>$this->createGroup($groupname)); } }
I added a check for NOT LOGGED IN to prevent this. The '0' return was being treated as a boolean false by the if statement.
Sorry, something went wrong.
Fix for NOT LOGGED IN group name. Referencing dweeves#199. This is a …
d35f578
…priority bug fix if possible.
No branches or pull requests
When I use a csv like
"sku","group_price:NOT LOGGED IN",
"sku1","10.99"
Every time I run my profile, it creates multiple customer group prices under the same product called "NOT LOGGED IN".
I haven't had any time to dive into the processor, but was wondering if anyone else had seen this
The text was updated successfully, but these errors were encountered: