April 2006

One of the major weaknesses of an open source package like ZenCart is the lack of support for third party applications. Sure you can insert products by hand and process orders, but what if you already have products in another form such a Point of Sale system or inventory management system? What about integrating the sales process into an existing accounting package like QuickBooks?

EZ Populate is a ZenCart contribution that can solve the product importation problem for some uses. I have used this module successfully with a few clients, but for the majority, it lacks support for much outside the basic realm of importing products in a specific CSV format.

What about converting from another application like osCommerce to ZenCart?

Sites like Froogle and Shop.com and most affiliate programs have specific formats they expect data to be submitted in.

What can be done in situations like these?

  • Have a custom import or export script created by a professional developer
  • Write your own
  • Contract a database developer to run a one-off import or export

If you are skilled in PHP, rolling your own import/export shouldn’t be prohibitively complex.

To export products, first query the products and products description tables to get the base product record. Queries suitable for copy/pasting from the original ZenCart source for this use are readily available just check out the product detail view template. Once the product record is available, product options and attributes can be easily sub-queried using the products_id. Now that all of the product data is available, it should simply be a matter of printing out the data rows in the order and format expected by the import application and iterating over each product and product option row.

Exporting orders is a similar excercise in that the basic order information is queried, then the products, product options and any secondary order information (such as payment records and comments) are queried. Then the result sets are iterated over printing out the data in the required format.

One-offs are a viable option only if the data manipulation needs performed only once or rarely (such as year end reports) and the steps are difficult to automate accurately.

Popularity: 1%

{ 0 comments }

Paripatetic

by damonp on April 25, 2006

in Dictionary

adj.

  1. Walking about or from place to place; traveling on foot.
  2. Peripatetic Of or relating to the philosophy or teaching methods of Aristotle, who conducted discussions while walking about in the Lyceum of ancient Athens.

n.

  1. One who walks from place to place; an itinerant.
  2. Peripatetic A follower of the philosophy of Aristotle; an Aristotelian.

Popularity: 1%

{ 0 comments }

MailAnnounce AppleScript Update

25 April 2006

MailAnnounce is an AppleScript which can be used to speak the sender and subject of incoming mails using Mail.app. Due to the great feedback I received, I have cleared up a bug and added a few new features. v1.2 Changelog -now skips read messages, this correct a bug some users reported that would speak all [...]

Read the full article →

Why Do We Shop Online?

19 April 2006

Why do we shop? We need things. We want things. Things necessary for our day to day lives, things to make our lives easier, things for work, things for fun, sometimes just things. Traditional shopping is an experience. We look, we touch, we try on, we smell, we listen, we walk, we talk, we get [...]

Read the full article →

Use Google As Caller ID

18 April 2006

Receive a call from a number you don’t recognize? Google it and see what pops up. If its a call from a business, they’re likely to have their telephone number listed on a website somewhere. I have found these forms work the best: ###-###-#### ###-#### You can always Google the three digit area code to [...]

Read the full article →

MailAnnounce Applescript App to Speak Mail Subject

12 April 2006

I have a computer in my living room to check email and do some lite work sometimes in the evenings. As I cannot see the screen from my old school easy chair, I found myself frequently getting up to check my email when I heard that familiar new mail ding. I found a post on [...]

Read the full article →

Duplicitous

7 April 2006

adj. Given to or marked by deliberate deceptiveness in behavior or speech.

Read the full article →

Who Does Not Need A Website?

4 April 2006

I recently received a call from a new aquaintance; friend of a friend. In the small talk following the introduction he asked what I did and I tried to explain in non-techie terms. From our conversation, my new friend gleaned that I did websites. [I may have done one generic, static website in my career, [...]

Read the full article →

Sublimate

4 April 2006

v.tr. To cause (a solid or gas) to change state without becoming a liquid. To divert the energy associated with (an unacceptable impulse or drive) into a personally and socially acceptable activity.

Read the full article →

Stop Using TARGET To Open In A New Window

3 April 2006

Hey all you people out there insistent on making your links open in a new window… STOP IT! It’s my computer and my browser. If I want your link to open in a new window, I will use Shift-Click (for new window) or CMD/CTL-Click (for a new tab in non IE browsers). Several _major_ product [...]

Read the full article →