I'm updating a bunch of product prices at once, I plan on doing this using a shell script that loads a SKU and the price to update. I also need to make sure this only applies to a specific store. So here is how I planned to go about it:
- Load my list of products into an array
- Include Mage.php
- Load the store scope
- Load each product in my list by SKU
- Change the price using setPrice
- Save the product attribute without having to save the entire product (I have a lot of SKUs to update)
- Iterate through each product using the same process
My question is, can this be done with core attributes? Or does it need a full product save? I've seen several posts and scripts of people using saveAttribute with custom attributes under the default store, but the last time I attempted this it had huge reprocussions. I've tried a CSV using the import and it won't work right, and magmi is failing due to some strange errors, so I'm forced to take matters into my own hands.