If you ever need to programmatically clear Magento’s shopping cart, use the snippet of code below. If you need to clear the user’s entire session, including the shopping cart, shipping information, billing information and chosen payment methods, please refer to the snippet further below.
Tagged :: magento
Sep 09
A client wanted every checkout on his site to be a guest checkout. He was selling a very niche product and wanted to avoid hassling potential customers with a user log-in or registration form. The goal was to modify Magento’s One Page Checkout to completely skip Step 1: Login/Register and show Step 2: Billing Information.
Aug 09
From the Magento dashboard, there is no intuitive way of deleting/clearing/resetting customer, order, search, or tag data. As developers, we have to test the various functions of our specific Magento setup before presenting it to the client. Before the site can go live, all of the test data has to be removed so it doesn’t interfere with the client’s other business functions such as accounting and inventory.
Aug 09
Let’s say for example that configurable product A is defined to have 2 attributes “color” and “size”. Values for color may be: Black, White, Chrome while values for size may be: 1″, 2″, 3″, and 4″.
One would expect that there should be a price matrix that might look like:
| 1″ | 2″ | 3″ | 4″ | |
|---|---|---|---|---|
| Black | $1.00 | $1.20 | $1.40 | $1.60 |
| White | $1.05 | $1.25 | $1.45 | $1.65 |
| Chrome | $1.15 | $1.35 | $1.55 | $1.75 |
Jan 09
It’s been almost three weeks now since I’ve started learning the Magento ecommerce platform. With an impressive array of features, like product comparisons and a web services API, the platform sounds promising. I had hoped that by the time I’d revisit this topic, I’d be able to say I’ve successfully implemented the software. Instead I’m having trouble setting up my product catalog (it involves importing).  And how can I forget to mention the overall issue of speed?
Let’s start at the beginning, at installation. Your web server likely has capable hardware, so you need to be sure that your software configuration meets requirements. Luckily the host I’m on was set up just fine the way it was. Obviously you need to download the software – I chose to download the Full Release (version 1.1.8 at the time). Read more »
Dec 08
One of our clients is using an in-house system for maintaining product catalogs, customers, inventory, shopping carts, etc. Being an in-house system, it isn’t very scaleable and changes to the system take a long time to implement. So for them, we are going to be installing and setting up Magento.
Now I’ve only just started to become familiar with the platform. I should also mention that I have no experience working with other eCommerce platforms like OSCommerce or anything, but the talk-of-the-town is that Magento blows everything else out of the water. More importantly, based on what I’ve read in their comprehensive User Guide, the software can handle (1) everything our client needs, (2) everything they’ve requested, and (3) everything our client hasn’t even thought of yet.




