Code

Adding cart notes to the Minimal Shopify theme v3.2.0

I recently opened a development Shopify store to set up a new storefront for my side business that mainly sells through Etsy right now. I chose to use the free Minimal theme, and I wanted to enable cart notes to allow customers to leave special instructions with their orders, especially for customizing decal colors. Shopify only allows 100 variants with a single item; as a result, for a decal that has 8 size and 20+ vinyl color choices, 100 is nowhere near enough.

If you would like to set up an unlimited Shopify trial with a development store, please feel free to contact me, and I can help you set one up as a Shopify Partner!

Shopify helpfully had this great article “Enable order notes on your cart page”, and it claimed that I could edit the cart settings for the theme on the Customize theme page. However, when I tried to follow the instructions, I was faced with this:

NO CART SETTINGS.

A browse through the forums was no help, but with a glance through the raw code, I quickly managed to figure it out. (more…)

Fixing MediaWiki CategoryTree GetModuleStyles error

Since updating to version 1.26 of MediaWiki, category pages with CategoryTree subcategories would display the following error:

Warning: OutputPage::getModuleStyles: style module should define its position explicitly: ext.categoryTree.css ResourceLoaderFileModule [Called from OutputPage::getModuleStyles in /home/$USER/public_html/includes/OutputPage.php at line 623] in /home/$USER/public_html/includes/debug/MWDebug.php on line 300

Warning: OutputPage::getModuleStyles: style module should define its position explicitly: ext.categoryTree.css ResourceLoaderFileModule [Called from OutputPage::getModuleStyles in /home/$USER/public_html/includes/OutputPage.php at line 623] in /home/$USER/public_html/includes/debug/MWDebug.php on line 300

(more…)

Installing RMagick on Windows 7

In my efforts to install Ruby on Rails and SpreeCommerce on my Windows 7 laptop, the problem that stumped me the longest was the ‘spree install my_store‘ command that gave me the error:

'identify' is not recognized as an internal or external command,
operable program or batch file.
Image magick must be installed.

I tried running ‘gem install rmagick‘ first, which installed something, but it was still not sufficient to let me run the ‘spree install my_store‘ command without aborting in an error.

After much searching on Google and concatenating all these outdated sources, I finally figured it out. Steps (and troubleshooting details) are below.

(more…)