catgento.com
  • Blog
  • Magento Events / variables and modules
  • Magento functions cheatsheet
  • About
  • Github

shell

Shell

Programmatically set product position in a category in Magento

Today I had to reorder products in a category. Basically, our client wanted to put the products with special price at the end. After trying to do this with the category model in Magento, I finally run into the Category Api. It worked like a charm, even though it works Read more…

By Pau, 9 years ago
Development

Passing arguments to a Magento Shell script

Using Magento Api to create shell scripts seems to be easy, but there are too many things to take into account to get the most of it. In this case, I want to explain how to pass an argument from the command line when executing a magento shell script. You Read more…

By Pau, 10 years ago
  • My page about yoga, Yoga Alacant
  • Magento Events / variables and modules
  • Magento functions cheatsheet
Hestia | Developed by ThemeIsle