ZENCART ZENSDAY – HTML 5 / iOS-friendly forms. Make your site more mobile-friendly

Photo

ZENCART ZENSDAY – HTML 5 / iOS-friendly forms. Make your site more mobile-friendly. When we improve our site, we share how we do it and release some code with our weekly ZENCART ZENSDAY! This mod will change all of your email fields from type=”text” to type=”email” where necessary. This will make it easier for people with iPads and mobile devices to type their email addresses into the field, and will gracefully degrade to type=”text” in browsers that do not support HTML 5. This came in by suggestion of a customer and within 24 hours, we rolled this out – thanks Brooke!



ZENCART ZENSDAY: Dot Charts – Easy visualization for data managements

Dot

Ladyada writes -

A while back I was bored and wanted to take a look at the gRaphael JS library, so I made a quick dot chart of our order totals by day of the week. Here it is!

You’ll need to download both the gRaphael library and the dot graph library both from the graphael website and place them in the admin/includes/javascript directory. Our file uses the non-minified version of the dot library, use the minified version if you want to save bandwidth.



ZENCART ZENSDAY! – Shorten & Prettify URLs

ZENCART ZENSDAY! – Shorten & Prettify URLs. This mod will re-write your urls to look nice and pretty! There’s several plugins that SEO your urls for you like this one but they all seemed pretty complicated so we wrote our own.

Go from this:
Oldurl

To this!
Urls

Read more!

Every week we give away valuable, core business features of the Adafruit shopping cart system. Are we crazy? Maybe, but you’d be crazy not to see if these are things that can help your open-source hardware kit business. Our goal is for there to be more companies like Adafruit out there releasing cool hardware!



ZENCART ZENSDAY- Easy Updates – Our zen-cart mods/hacks/tips & tricks

Easyupdates

Our zen-cart mods/hacks/tips & tricks… this is our 27th zensday! we’ve been doing this for over half a year!

Zencart’s inventory management is bulky and can sometimes take way too long to do really simple things – like changing the stock of many items at once.

To fix this, we’ve made an admin page calles easy_update.php that can do lots of stock changes at once, as well as organize products by stock, ordered but not shipped, and # of people subscribed. This is our daily go-to for the store inventory ‘health’ – letting us know whats the most important thing to get back into stock at a glance

Some of the people and companies that make/ship/kits and even compete with us, think we’re crazy for giving away core parts of our business like this. Easy Update is one of those – enjoy, go make an amazing open-source hardware business folks :)



ZENCART ZENSDAY – Changing Session Length, Our zen-cart mods/hacks/tips & tricks

Pt 101609

ZENCART ZENSDAY – Changing Session Length, Our zen-cart mods/hacks/tips & tricks… By default, a zencart session will timeout after 24 minutes of inactivity. This will log someone out, or delete their temporary shopping cart if they weren’t logged in. Depending on your shop you might want this to be longer or shorter.

Read more!



ZENCART ZENSDAY – Adding META Tags to Define Pages – Our zen-cart mods/hacks/tips & tricks

Meta

An easy feature to miss in the zen cart code is the ability to customize your meta tags for individual pages

Read more!



Zencart MOD: Limit Paypal to specific categories

Pcb Store -W600

Zencart MOD: Limit Paypal to specific categories @ Dangerous Prototypes.

Adafruit posts some Zencart zennieness every week. Here’s our first humble mod of the popular online store software.

Soon one or two popular PCBs will be available for a couple bucks from the PCB drawer. This is just a test, we don’t plan to go into the retail business.

We need a way to stop people from purchasing free prototype PCBs. It’s not that we don’t want to sell you prototype PCBs too, the logistics are just impossible though. Our first Zencart MOD limits PayPal payments to the for-sale boards, and keeps the prototype boards available via free PCB coupon only.

We love these types of posts!



ZENCART ZENSDAY – Predictive inventory

ZENCART ZENSDAY – Predictive inventory. Ok, folks this is likely one of the most useful parts of our Adafruit business we’re thrilled to share with the world… One of the ‘brick walls’ that any business eventually hits is how to manage inventory. If you’re a one person shop and you have 10 items to keep track of, you can probably do it all in your head. But once you get to 25 or so items it can get really messy. That’s why a few years ago we wrote up our own ‘predictive’ inventory system. Now to make it absolutely clear, this php code cannot actually see into the future. However, it can look into the past and make a good educated guess about how long your inventory will last assuming you have pretty steady purchasing history.

Basically, this code will look at all your product categories and items and sum up how many orders were placed for these items. Then it puts them in a table with the current inventory/stock. The table entries have a background of light red if your current inventory will run out before then. For example lets look at this screenshot:

Inventoryreport

If the future purchasing is like the past, then we’ll run out of 9V regulated adapters in about 4-6 weeks. If you know the approximate lead time for stuff you buy then you can just keep ordering just when the ‘red bars’ start showing up too much!

Read more!



ZenCart Zensday – Text box length limits!

Limitcomment

ZenCart Zensday – Text box length limits! Each week share different parts of our shopping cart system many use these in their own “Adafruit” like kit businesses. This week… Here’s a quick way to limit the length of customer comments on your invoices using javascript. Essentially, this is just a script to limit the size of a textarea element. This can be handy when you need to make sure a text field doesn’t have too much text in it…

Read more!



ZENCART ZENSDAY – product page tabs

Tabs

We sell very technical things and we often have a lot of stuff we want to add to the product page – technical details like size & weight, electronic details for interfacing, datasheets, example code, schematics, files, tutorials, etc. Before you know it, customers are inundated with too much info! That’s why tabs can be very handy, they are easy to use and split up the information into chunks by category!

Read more!



ZEN CART ZENSDAY – Create an Anouncements Category

Announce

Create an Anouncements Category. Use WordPress and create a category called ‘announce’, and populate it with a few posts. Test to see that the rss feed works. If you’re using some sort of nice URLS, it’ll look like http://www.yourblog.com/feed/announce If not, it may look more like http://www.yourblog.com/?feed=rss2&category_name=announce

READ MORE



ZEN CART ZENSDAY – Add a ticker to your store

Ticker

ZEN CART ZENSDAY – Add a ticker to your store! If you have a blog that generates an rss feed, you can use the rss feed to pull in recent blog posts and post them to your home page.
For this example we’ll be using our rss that is generated automatically from WordPress (http://www.adafruit.com/blog/feed).

READ MORE.



Back in stock notifications – Our zen-cart mods/hacks/tips & tricks

Notify

Back in stock notifications – Our zen-cart mods/hacks/tips & tricks! We use the Back in stock notifications plugin for zencart. The plugin itself works out of the box, and the installation instructions are easy enough to follow, but there are a few modifications to be made that we think makes it better.



Hackerspace CRASHSPACE using ZenCart to sell kits

Pt 101360

Hackerspace CRASHSPACE using ZenCart to sell kits and time on the laser cutter, very cool… you buy them on the site and pick them up at the hackerspace.



ZENCART ZENSDAY – Custom emails, Our zen-cart mods/hacks/tips & tricks

Pt 101345

ZENCART ZENSDAY – Custom emails, Our zen-cart mods/hacks/tips & tricks…



www.flickr.com
adafruit's items Go to adafruit's photostream
www.flickr.com
items in Adafruits More in Adafruits pool