Archives for 

Interspire Customization

Fixing the Interspire Google Base Feed

Google Base updates their guidelines faster than Interspire updates its Shopping Cart.

Google loves when we feed it products.Upon launching the new MakeUpMania.com website, I discovered that the XML feed that Interspire generates for Google Base is not properly structured. There were many hits and misses before making the modifications necessary to get the feed approved.

Fixing the generated feed

Below are fixes to three issues that kept throwing errors on the Google Base side.

On months with more than 30 days, it causes an error.

Google requires the <g:expiration_date> field to be fewer than 30 days in the future. Interspire’s PHP code generates a date one month in the future. Months can be longer than 30 days, thus a problem occurs.

The fix:
In /store-root/admin/includes/classes/class.froogle.php, around line 87, find:
$expirationDate = isc_date("Y-m-d", strtotime('+1 month'));

Replace with:
$expirationDate = isc_date("Y-m-d", strtotime('+29 days'));

Google only accepts unique products with descriptions.

Interspire’s Google Base feed creates duplicates of the same product. Also, it exports all products, not just products with descriptions. Google requires product descriptions, and will disapprove a feed because of this.

The fix:
In /store-root/admin/includes/classes/class.froogle.php, around line 72, find:

WHERE
	p.prodvisible=1

Add below it:

	AND p.proddesc != ''
	GROUP BY p.productid

This will only retrieve products with a description and will not show the same product twice.

That should do it.

Let me know if you are still encountering issues with your Interspire feed.

Related posts:

  1. How to Create a Custom RSS Feed in WordPress in 12 Lines of Code
  2. Preview Hidden Products in Interspire Shopping Cart
  3. Improve Interspire Shopping Cart Search with Smart Redirections

Preview Hidden Products in Interspire Shopping Cart

 Interspire Shopping Cart admins need to preview products before they go live. Yep, we’re talking about Interspire once again today.  The Interspire Shopping Cart doesn’t allow you to preview products that you are editing without making the product live in the store. This is plain silly; it’s vital for store owners to make sure their products […] Related posts:
  1. Add ‘Customers Also Purchased’ to the Cart Page on Interspire Shopping Cart
  2. How to Add an `Edit Product` Link for Interspire Shopping Cart
  3. Improve Interspire Shopping Cart Search with Smart Redirections
Continue reading →

Add ‘Customers Also Purchased’ to the Cart Page on Interspire Shopping Cart

 “Customers Also Purchased” should be on the cart page, right? The Interspire Shopping Cart has a “Customers Also Bought” feature, but for some reason, they didn’t think to make it functional on the cart page — one of the most useful (and obvious) places to have the feature. This modification will allow you to place the […] Related posts:
  1. Preview Hidden Products in Interspire Shopping Cart
  2. Generate CSS Body Classes in Interspire Shopping Cart
  3. How to Add an `Edit Product` Link for Interspire Shopping Cart
Continue reading →

Generate CSS Body Classes in Interspire Shopping Cart

 If you’re used to WordPress’ body_class() function, this post for you. Working with WordPress, it’s easy to get accustomed to some of its nice features, like the body_class() function introduced in WP 2.8. When working with Interspire Shopping Cart, I wanted the same level of information added to the page’s <body> tag. Let’s do this in […] Related posts:
  1. Add ‘Customers Also Purchased’ to the Cart Page on Interspire Shopping Cart
  2. How to Add an `Edit Product` Link for Interspire Shopping Cart
  3. Preview Hidden Products in Interspire Shopping Cart
Continue reading →

Improve Interspire Shopping Cart Search with Smart Redirections

 Good search results are magical I am always impressed when a website’s search goes where I want and finds what I expect it to. When trying to find a specific product by SKU in Interspire, you will be presented with a search result that shows the product you’re looking for first. But this is not good […] Related posts:
  1. Preview Hidden Products in Interspire Shopping Cart
  2. Add ‘Customers Also Purchased’ to the Cart Page on Interspire Shopping Cart
  3. Interspire Shopping Cart — Add a Brands Drop-Down Menu
Continue reading →