Syndicate

Feed

premium content

Jun
13

Drupal hook mechanism explained

I am currently reading not just any other Drupal book. With its steady flow of publication goodness, Packt Publishing has always been, in my opinion, the perfect B+ student: hardly ever outstanding. But its latest Drupal title, Learning Drupal 6 Module Development, is exceptional. Read more →

Mar
03

Testing Cart Functionality

You wanna buy a bag to carry around your junk, and give me opportunity to buy more junk for myself?



Sep
26

Working on the product pages

Although we will want the browser to execute our JavaScript code on product pages only, we will not add our JavaScript code to product.liquid. We could, but we prefer to add all JavaScript to the head element of the document — where we can find all code in a snap, even when tired and confused. Read more →

Sep
26

A store that sells popsicles

Let's start with a context, as a context makes the whole process fun. You want to sell frozen sweets. Each frozen sweet has its variants. Generally-speaking, these variants specify a quantity, and a flavor — and some sweets come with the option of being sugar-free. The following is a screenshot of the popsicle product page as it is now.

Your product page showing all variants without JavaScript

To be fair, there could be much more variants here. I was limited to 10 SKUs when I set up my fake shop for this tutorial. Still, seeing these 8 options in a table next to 8 radio buttons is not very pretty.

What we'd aim for would be something like this:

Your product page showing variants with JavaScript

 Read more →

Sep
04

Working on the cart page

Now that we've covered what needed to be done on product pages, we will move our attention to the cart page. Read more →

Sep
04

Working on the product pages

There shouldn't be a radio button next to that single variant

The Vogue theme (the one I am basing this tutorial on) is good to go for several variants. It presents a list of options on the product page, to buy either variant 1 or variant 2 etc. of a product. The problem with that XHTML is that you are still presented with a radio button when only one variant of the product is available for purchase, as is the case here. If there is no option for you to choose from, there ought to be no radio button to tick. We will clean that up. Read more →

Jun
25

Not into me

My boyfriend is gay. My boyfriend is homosexual.

I would like so much to be able to share this with a woman out there who's been through the same. Please contact me if you have.  Read more →

Jun
28

Smart enough and connected

November 24th, 2005. As I write this, I am definitely not... connected.  Read more →

Jun
06

Ten things people don't know about me

Grace did a delicious job at sharing 10 secrets about her on her blog some time ago. I just made a list myself Read more →

Feb
18

Typical dream of a paraplegic girl

In an effort to write 10 posts today, as I have made this day a write-10-posts-day event for myself, let me tell you about the dream I had a couple of weeks ago. Read more →

Feed