Jul022009

Edit Easy Populate to Add New/Extra Fields

Before you go about editing easy populate to add extra fields, an important decision has to be made. In which table are these extra fields going to be located? In Product table or in a separate table?

Adding new/extra fields to the products table is simpler compare to adding new/extra fields to a separate table.

Adding easy populate new/extra fields to the products table

0. Backup your database and your file.

1. Create new/extra fields in the products table. This can be done directly through phpMyAdmin if you have direct access to your database or through scripting in case you don’t.

2. Edit easy populate import.

ep1ep2ep3

3. Edit easy populate export

4. Test to confirm changes

Adding easy populate new/extra fields to a separate table

May302009

Schedule scripts to run at pre-set time with phpJobScheduler

I came across phpJobScheduler when working on site where the hosting company does not allow cron for scheduling jobs. The software is very easy to install and its performance is very impressive. Most importantly phpJobScheduler is free and there is support available through online documentation and forum.

Mar182009

Separating Canadian Provincial Sales Tax (PST) and Goods and Services Tax (GST/HST)

Here are screen shots showing separated Canadian Provincial Sales Tax (PST) and Goods and Services Tax (GST/HST) for Alberta and Quebec. Set-up and programming was done according to Canada Revenue Agency (CRA) Information.


Alberta Provincial Sales Tax (PST) and Goods and Services Tax (GST/HST)


Quebec Provincial Sales Tax (PST) and Goods and Services Tax (GST/HST). Quebec calculation is compounded.

Mar122009

XML Shipping Rates API from Shipwire

shipwire xml shipping rates

shipwire xml shipping rates

Shipwire XML shipping Rates API integration is now available for all oscommerce based shopping cart. Free demonstration and reference to live site using this module is avaiblae upon request. If you are a Shipwire customer this is a good module to add to your site because it provides accurate shipping estimates for your online shopper, saves you and your customer money and it ensures fast delivery of their purchase. According to Shipwire, the XML Shipping Rates allow any e-commerce application to integrate real-time shipping rates into their checkout process. This means instant quotes automatically from the warehouse closest to each customer!

Shipwire XML Shipping Rates

Shipwire XML Real-Time Inventory

Shipwire XML Tracking Status

Feb282009

Update Inventory with Supplier’s CSV, Tab, XML Inventory Feed

When your supplier provides XML, CSV or tab delimited data feeds of their inventories, the best thing to do is to implement an automated system that can take this feed and use it to update  your store pricing and stock levels. For a small store this can be done manually via Easy Populate easily. However for a mid-size ( up to 500 product) to large store (more than 10,000 products), using Easy Populate to manually load products becomes tedious.

I have develop a system which can handle single or multiple data feeds in any file format to load products into stores from classic oscommerce,  to zen cart, cre loaded, etc. This a real time inventory feed. The system is easy to use, can be configured to include products attribute option, attribute option values, download product images, and does not need any manual intervention. It effectively gives a store owner the ability to focus exclusive on running the business rather than chasing inventory.

This system works with virtual any supplier inventory feed for including Petra, Synnex, Doba, dbldistributing, trademarkcommerce, cnet, etc. Contact me today for references and a free consultation on how to implement on your store.

Feb112009

& in url instead of & with Ultimate SEO URLs

&amp in URL
If you have Ultimate SEO URLs installed and you are having & in url query string, go to your admin configuration. Under SEO URLS configuration, change “Output W3C valid URLs (parameter stirngs)” to false as shown in the left image.
Jan062009

Learn Easy Populate in a Weekend

Easy Populate Advanced

Understanding Easy Populate Advanced

Easy Populate Advanced is a product content management system for adding, editing, and deleting existing products. It is a robust php script capable of handling many modifications to suit any oscommerce based shopping cart needs. It can be set-up to run as cron/schedule job, modified to take input from database instead of a text file, it can be modified to include product extra fields from the product table or from another tables; the list goes on and on. In fact it is the specific needs of an e-commerce site and capability shop owner/programmer that determines or limit what Easy Populate script can do.

* Easy Populate Advanced file name must have EPA prefix. Examples of proper file names are EPAxyz.txt, EPAXYY.txt and EPA_xyz.txt.

* Every row must end with EOROER and there must not be any other text or character after EOREOR column on each row.

* Product model (v_products_model) string length/number of characters must be less than or equal to 25. This is the predefine value in epconfigure.php ($modelsize = 25). If you need to have more than 25 characters change this value to say 50 ($modelsize = 50). Then you can either access you database directly and run ALTER TABLE `products` CHANGE `products_model` `products_model` VARCHAR( 50 ) or add this line to your easypopulate_import.php below include statements at the top; tep_db_query(”ALTER TABLE `products` CHANGE `products_model` `products_model` VARCHAR( 60 )”).

* The default file delimiter is tab.

* Header fields with the name of each column your want to import must be the first row that is v_products_id, v_products_model, …, v_status, v_action, EOREOR

* Unwanted columns can be deleted. For example v_products_image_sm_1, v_products_image_xl_1, v_products_url_1, v_date_avail, v_date_added can be deleted if they are not needed.

* v_status field for setting active and inactive products

* File split

* The default no of categories is 4 (v_categories_name_1, … ,v_categories_name_4), to have more categories, increase $max_categories from 4 to say 7 in epconfigure.php. Then add more columns to your EPA file to reflect the change. In case the $max_categories is now 7 then the EPA files should have (v_categories_name_1, v_categories_name_2, … ,v_categories_name_6, v_categories_name_7).

* The temp folder within the main install must be writteble. You can use a folder other than the temp folder ut your have to specifiy the name of your new folder in the configuration file.

* Multi language support.

Using Easy Populate Advanced to add product

To add new product value of the v_products_id must be 0; this is a required field, do not leave it blank or empty. In case you are sure you have unique product id, you can use your predefined product id.

Using Easy Populate Advanced to delete product

Use v_action column to delete products. Each row must have delete (all lower case)

Using Easy Populate Advanced to edit product

Using Easy Populate Advanced to manage product attributtes

Using Easy Populate Advanced with extra fields in product table

Using Easy Populate Advanced with extra fields in another table

 

Easy Populate Basic

Understanding Easy Populate Basic

Using Easy Populate Basic to add product

To add new product value of the v_products_model must be supplied and it must be unique; this is a required field, do not leave it blank or empty.

Using Easy Populate Basic to delete product

Using Easy Populate Basic to edit product

Using Easy Populate Basic to manage product attributtes

Using Easy Populate Basic with extra fields in product table

Using Easy Populate Basic with extra fields in another table

Jan032009

Shipwire XML Warehouse Real-Time Inventory

This is a follow up to an earlier blog on Shipwire Order Status Tracking. From time to time there will be need to synchronize inventory on shipwire system with the inventory on your web site. shipwire real-time inventory integration script accomplish this objective. The script can be set up as a cron/schedule job or it can be run at any time on as needed basis.

shipwire-real-time-inventory-integration

shipwire developer/affiliate link

Dec282008

Shipwire XML Fulfillment Tracking Status

Shipwire Order Status Tracking. Shipwire is a service that lets you focus on growing your business by removing the hassle of shipping and storage. You can read more about the service at how shipwire works.

In case you already have shipwire service, when shipwire ships an order, the order status can automatically be updated to Shipped on your site. That way you don’t have to manually go through every order to figure out which has been shipped and which has not. Also an order tracking link for each of the carriers (Fedex, UPS and USPS) is provided through the admin customer order interface.

Shipwire Order Status Tracking

Shipwire developer/affiliate link

Oct212008

Call for Price Control for Individual Product Category

Call for Price Control

Call for Price Control

This modification is for displaying customer friendly sales message for products in selected category.  Messages like “Call (123) 456-7890 for Price”, “Negotiable Pricing”, etc. can be entered into an input text box.

This Modification is integrated into the edit category page (in admin) where you can  turn Call for Price feature on or off with the aid of two radio buttons. When Call for Price is on for a product category, an input text box is provided for entering texts to be displayed on the store front.