Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

mail_open
Problem updating an attribute having website scope using Magmi
Bob van Kappel

Excellent
December 27, 2014 - 1:38 pm
Member Since: October 16, 2014
Forum Posts: 15
sp_UserOfflineSmall Offline

I have a Magento setup with multiple websites. Each website has a single store and a single store view.
Using Magento 1.9.0.1, with Magmi v07.22.git

Now, importing a test product using Magmi with the following csv:
“sku”,”tax_class_id”,”store”,”websites”,”price”
“Test001″,”Tax high”,”admin”,”website_1,website_2,website_3″,”4.95″

creates a product as required. Tax class and price is set default for all three websites.

After this, for website_2 only, I need to add a special price. The special price attribute has been configured to have a website scope, so this should be possible. The requested change can be done easily in the Magento interface. So here goes with Magmi:
“sku”,”store”,”special_price”
“Test001″,”website_2_storeview”,”3.9900″

This however adds the special price to all store views and hence also to all websites. Not happy!

And similarly, the tax_class_id needs to be set to None for website_3 only. Same here, attribute tax_class_id has a website scope.
“sku”,”store”,”tax_class_id”
“Test001″,”website_3_storeview”,”None”

Same as before, the tax class is now set to None for all store views. Expected in view of the previous, but not good.

OK, so I thought to include the websites attribute:
“sku”,”websites”,”store”,”tax_class_id”
“Test001″,”website_3″,”website_3_storeview”,”None”

Tax class id is OK, but the product is now removed from website_1 and website_2. This is actually expected behaviour, so no complaints here …

For the sake of completeness, I also tried to set the tax class using only the websites attribute:
“sku”,”tax_class_id”,”websites”
“Test001″,”None”,”website_3″

with as expected the same result: the attribute value is correct, but the product is removed from websites_1 and 2

Any ideas how to do this?

Avatar
Dave Furness

Founder
December 30, 2014 - 11:40 am
Member Since: July 19, 2013
Forum Posts: 4606
sp_UserOfflineSmall Offline

Hey Bob,

This is definitely one for Matt, I have Skyped him in the background and asked him to get back to you

Dave

Every expert was once a beginner

Bob van Kappel

Excellent
January 6, 2015 - 11:54 am
Member Since: October 16, 2014
Forum Posts: 15
sp_UserOfflineSmall Offline

Hi Matt / Dave,

Have you had the opportunity to look into this?

Bob

Avatar
Dave Furness

Founder
January 6, 2015 - 8:26 pm
Member Since: July 19, 2013
Forum Posts: 4606
sp_UserOfflineSmall Offline

Let me give him another nudge for you :)

Dave

Every expert was once a beginner

Bob van Kappel

Excellent
January 24, 2015 - 12:01 pm
Member Since: October 16, 2014
Forum Posts: 15
sp_UserOfflineSmall Offline

Hi Matt & Dave,

it seems this problem was introduced with Magmi version V0.7.21. See also this SourceForge ticket: http://sourceforge.net/p/magmi…..quests/88/

So, reverting back to Magmi V0.7.20 should solve the issue?

I willl try it out and let you know.

Bob

Avatar
Dave Furness

Founder
January 25, 2015 - 5:47 pm
Member Since: July 19, 2013
Forum Posts: 4606
sp_UserOfflineSmall Offline

Hey Bob,

Yea let us know how you get on!

Dave

Every expert was once a beginner

Bob van Kappel

Excellent
January 27, 2015 - 1:16 pm
Member Since: October 16, 2014
Forum Posts: 15
sp_UserOfflineSmall Offline

I have some work for Sebastien… :-)

I carried out a simple test, using Magento 1.9.1 and two versions of Magmi: 07.20 and 0.7.21.

Test 1: create a simple product. Once with Magmi 7.20 and then another with 7.21. No surprise both went well.
“sku”,”name”,”store”,”websites”,”price”
“Test000”,”Test product for Magmi 7.20″,”admin”,”website_1, website_2″,”4.95″
and virtually the same for Magmi 7.21, now with ID Test001.

Test 2: update the price (configuration has been set to have the price attribute have a website scope) only for 1 website, maintaining the default price for the remaining site(s):
“sku”,”store”,”price”
“Test000″,”website_2_store”,”1.00″
carried out for Test000 with Magmi 7.20 and for Test001 with Magmi 7.21.

And indeed! The default value of price was set to 1.00 using Magmi 7.21, thus affecting both websites, while it remained at 4.95 when importing with Magmi 7.20 for website_1 and was correctly set to 1.00 for website_2, as I would have expected.

Magmi 7.21 behaviour is therefore incorrect!

Best regards,

Bob

Avatar
Dave Furness

Founder
February 1, 2015 - 7:43 pm
Member Since: July 19, 2013
Forum Posts: 4606
sp_UserOfflineSmall Offline

Hey Bob,

Wow you lost me on this one, although that’s not hard when you talk Magmi :D

Have you gotten in touch with Sebastian about this?

Dave

Every expert was once a beginner

Bob van Kappel

Excellent
February 3, 2015 - 12:43 pm
Member Since: October 16, 2014
Forum Posts: 15
sp_UserOfflineSmall Offline

Dave,

nope, haven’t sent this off to Sebastian. There is already a ticket in SourceForge on the issue. All I did was confirm the error indeed started in version 7.21.

So for users this means staying with version 7.20 is recommended if you need this.

Best regards,

Bob

Avatar
Dave Furness

Founder
February 3, 2015 - 9:57 pm
Member Since: July 19, 2013
Forum Posts: 4606
sp_UserOfflineSmall Offline

Ah ok, I see, hopefully he is working on it :)

Dave

Every expert was once a beginner

 

Why Should You Join UnderstandingE?

 
  • Access to over 500 step-by-step video tutorials
  • +20 video courses available
  • Magento, M2E Pro, Magmi, eBay, Amazon & Design all covered
  • Everything is in 100% Plain English
  • Learn how to build your own multi-channel software for eBay & Amazon
  • Access to the community forums, meet fellow business owners like yourself

Join Now with 2 Clicks

 

Join now for less that £1 per day you can gain access to over 400 step-by-step video tutorials & learn how to build your very own multi-channel software.

 

Forum Timezone: Europe/London

Most Users Ever Online: 1012

Currently Online:
38 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Jim @ Moogento: 688

Steve Froggatt: 514

Badeth - UE: 513

Jimbob: 453

Paul Cartwright: 414

Forum Stats:

Groups: 6

Forums: 37

Topics: 5221

Posts: 27485

Administrators: Matthew Ogborne: 4565, Dave Furness: 4606