Category: Code

  • Upgrading Shopp 1.1.9 to 1.2.3

    Shopp 1.2 has been with us for some time now, but prior to 1.2.2 there were problems with upgrading from 1.1.x. Now though, upgrading to 1.2.3 (the current version as of August 2012) from 1.1.9 is incredibly simple. Before proceeding, I recommend reading the documentation for upgrading to Shopp 1.2 and the template changes in…

  • Processing Custom Post Type Content in WordPress

    I’m using WordPress custom post types in a project right now, which requires a number of new content sections that are similar to the_post(). In the WP back end, the new content panels are created using add_meta_box() with the TinyMCE WYSIWYG editor so that HTML can easily be added to the content. However, since I…

  • New Shopp plugin: Minimum Order Amounts

    For the multitude of people who have asked in the forums “How do I set a minimum order amount in Shopp?” My new plugin is the answer. Interested? Check out the plugin page here, or get it from the WordPress plugin directory. It’s pretty straightforward and simple (at this point) with only two configuration options. I’ve got…

  • Changing Credit Card Expiration Date Fields in Shopp

    The question was asked in the Shopp Community Forums about how to change the Credit Card expiration date fields from input boxes to drop down menus. The default Shopp template has them set as text boxes, which works fine, but we can improve on this and make it easier to use. If you’re using Shopp’s…

  • .htaccess forcing larger file uploads

    So this is something that I should have memorized by now, but always find myself searching Google whenever I need it. MediaTemple’s Grid Servers have a built in 2mb limit on file uploads, which is small when you’re trying to upload photos from new multi-megapixel cameras, or even just large PDFs. The solution is to…

  • .htaccess forcing www in urls

    I’m starting to use this site as a resource for myself, because I use this stuff all the time, but not enough to commit it fully to memory. That said, something that’s come up a lot recently is forcing www. in front of all urls on a site. Since all of my servers are Apache,…