mothership-ec / cog-mothership-commerce

Mothership Commerce Cogule
Other
5 stars 1 forks source link

Do not override product type with basic on product upload #503

Closed thomasjthomasj closed 8 years ago

thomasjthomasj commented 8 years ago

The product upload feature guesses the product type based on the fields that have been filled out in the product upload spreadsheet. I'm not sure how I managed to miss this when testing the changes before, but after detecting the type, it gets overridden to the default type. This fix ensures that the method gets returned as soon as the product type has been set to prevent this from happening.

GraceAshton89 commented 8 years ago

Tested uploading Music type, Apparel type and Basic type products. All working correctly under their respective types.