Information


Improvement Ideas for the WordPress Shopping Cart

I recently set up an ecommerce website using WordPress and Instinct Software’s ecommerce plugin. I have already written briefly about customizing WP Shopping Cart for WordPress. I explained how I had to hack the system to get the look that I wanted.

I a simple suggestion for improving how WP Shopping Cart outputs its HTML so that the process of customizing the look becomes much easier.

Each element in the shopping cart and the product pages should be logically labeled with classes and ids.

To maintain consistency among all links related to the buying process, all WP Shopping Card links should have a logical hierarchy of classes.

Each unique element should have an ID. That way, specific links can be made to look quite different. For example, I want the Pay and Download button (I changed the name, I forget what it was originally called) to be much more prominent than the Empty your cart button.

It may be desirable to differentiate add to cart buttons for each product. This could be done by using an id that includes the product number.

Better Integration with the Blog

I would love to have Add to Cart buttons in a blog post. If only there were more tags to refer to specific elements in the shopping cart! Having a tag like [wpshoppingcart:addtocart:##] where ## is a product ID would be awesome!

Extending that idea, it would be easy to make my own shopping cart if there were tags for all the other buttons. I actually switched the order of the empty button and the pay button by hacking the code. It would be much better to build a shopping cart from a few tags: one to display what is in the shopping cart, another to display the various buttons etc.


Comments

3 comments:

I am looking for a way to use eCommerce lite without the use of any payment gateway. I would like all customer details (order, address, credita card etc) to be e-mailed to me (securely) so I can process the order manually on my speedpoint.

Is that possible?

Thanx
Scooter Schalk

Scooter Schalk / July 19th, 2007, 7:05 am / #

Hi Scooter,

I wish I could give you a definitive answer, but I have not tried this.

Do you have a test site so you can try a few different things before going live?

Doug / July 20th, 2007, 12:36 am / #

There is really no way to easily securely email information. Maybe with some server side encryption. And credit card companies ar developing more restrictive policies all the time about the online collection of credit card infromation

Werelax / December 30th, 2007, 1:22 am / #

Post a comment