<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Denver SEO Blog &#187; Interspire</title>
	<atom:link href="http://www.seodenver.com/category/interspire/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seodenver.com</link>
	<description>Websites designed and optimized for results.</description>
	<lastBuildDate>Fri, 10 Feb 2012 14:53:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Fixing the Interspire Google Base Feed</title>
		<link>http://www.seodenver.com/fixing-interspire-google-base-feed/</link>
		<comments>http://www.seodenver.com/fixing-interspire-google-base-feed/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 20:06:50 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Interspire]]></category>
		<category><![CDATA[Google Base]]></category>
		<category><![CDATA[Google Base Feed]]></category>
		<category><![CDATA[Interspire Customization]]></category>
		<category><![CDATA[Interspire Development]]></category>
		<category><![CDATA[Interspire Mods]]></category>
		<category><![CDATA[Interspire Shopping Cart]]></category>

		<guid isPermaLink="false">http://www.seodenver.com/?p=1670</guid>
		<description><![CDATA[Google Base updates their guidelines faster than Interspire updates its Shopping Cart. 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 &#8230; <a href="http://www.seodenver.com/fixing-interspire-google-base-feed/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/custom-rss-feed-in-wordpress/' rel='bookmark' title='How to Create a Custom RSS Feed in WordPress in 12 Lines of Code'>How to Create a Custom RSS Feed in WordPress in 12 Lines of Code</a></li>
<li><a href='http://www.seodenver.com/preview-hidden-products-in-interspire-shopping-cart/' rel='bookmark' title='Preview Hidden Products in Interspire Shopping Cart'>Preview Hidden Products in Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/improve-interspire-shopping-cart-search/' rel='bookmark' title='Improve Interspire Shopping Cart Search with Smart Redirections'>Improve Interspire Shopping Cart Search with Smart Redirections</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h2>Google Base updates their guidelines faster than Interspire updates its Shopping Cart.</h2>
<p><img class="alignright size-full wp-image-1674" title="Feeding Google an Interspire products list" src="http://www.seodenver.com/wp-content/uploads/2010/08/feeding-google.jpg" alt="Google loves when we feed it products." width="300" height="237" />Upon launching the new <a href="http://www.makeupmania.com">MakeUpMania.com</a> 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.</p>
<h2>Fixing the generated feed</h2>
<p>Below are fixes to three issues that kept throwing errors on the Google Base side.<span id="more-1670"></span></p>
<h3>On months with more than 30 days, it causes an error.</h3>
<p>Google requires the <code>&lt;g:expiration_date&gt;</code> field to be fewer than 30 days in the future. Interspire&#8217;s PHP code generates a date one month in the future. Months can be longer than 30 days, thus a problem occurs.</p>
<p><strong>The fix:</strong><br />
In /store-root/admin/includes/classes/class.froogle.php, around line 87, find:<br />
<code>$expirationDate = isc_date("Y-m-d", strtotime('+1 month'));</code></p>
<p><strong>Replace with:</strong><br />
<code>$expirationDate = isc_date("Y-m-d", strtotime('+29 days'));</code></p>
<h3>Google only accepts unique products with descriptions.</h3>
<p>Interspire&#8217;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.</p>
<p><strong>The fix:</strong><br />
In /store-root/admin/includes/classes/class.froogle.php, around line 72, find:</p>
<pre>WHERE
	p.prodvisible=1</pre>
<p><strong>Add below it:</strong></p>
<pre>	AND p.proddesc != ''
	GROUP BY p.productid</pre>
<p>This will only retrieve products with a description and will not show the same product twice.</p>
<h2>That should do it.</h2>
<p>Let me know if you are still encountering issues with your Interspire feed.</p>

<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/custom-rss-feed-in-wordpress/' rel='bookmark' title='How to Create a Custom RSS Feed in WordPress in 12 Lines of Code'>How to Create a Custom RSS Feed in WordPress in 12 Lines of Code</a></li>
<li><a href='http://www.seodenver.com/preview-hidden-products-in-interspire-shopping-cart/' rel='bookmark' title='Preview Hidden Products in Interspire Shopping Cart'>Preview Hidden Products in Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/improve-interspire-shopping-cart-search/' rel='bookmark' title='Improve Interspire Shopping Cart Search with Smart Redirections'>Improve Interspire Shopping Cart Search with Smart Redirections</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/fixing-interspire-google-base-feed/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Interspire &amp; BigCommerce WordPress Plugin</title>
		<link>http://www.seodenver.com/interspire-bigcommerce-wordpress/</link>
		<comments>http://www.seodenver.com/interspire-bigcommerce-wordpress/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 22:45:17 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[Interspire]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[BigCommerce]]></category>
		<category><![CDATA[Interspire Addon]]></category>
		<category><![CDATA[Interspire Plugin]]></category>
		<category><![CDATA[Interspire Shopping Cart]]></category>
		<category><![CDATA[Interspire WordPress]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[WordPress Shopping Cart]]></category>

		<guid isPermaLink="false">http://www.seodenver.com/?p=1668</guid>
		<description><![CDATA[Integrate Interspire or BigCommerce with your WordPress website You want to spend your time writing the best content, not hunting for the link for the product you&#8217;re blogging about. This plugin is simple to set up, and powerful. If you &#8230; <a href="http://www.seodenver.com/interspire-bigcommerce-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/seo-wordspinner/' rel='bookmark' title='Kick SEO Ass with SEO WordSpinner Plugin for WordPress'>SEO WordSpinner Plugin &#8211; A Killer SEO Plugin for WordPress</a></li>
<li><a href='http://www.seodenver.com/incorporate-wordpress-with-interspire-shopping-cart/' rel='bookmark' title='Incorporate WordPress with Interspire Shopping Cart'>Incorporate WordPress with Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/mad-mimi/' rel='bookmark' title='Mad Mimi Plugin for WordPress'>Mad Mimi Plugin for WordPress</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h2>Integrate Interspire or BigCommerce with your WordPress website</h2>
<p>You want to spend your time writing the best content, not hunting for the link for the product you&#8217;re blogging about. This plugin is simple to set up, and powerful. If you use WordPress and Interspire or BigCommerce, it&#8217;s a must have.</p>
<p>For for information, check out the <strong><a href="http://wordpress.org/extend/plugins/interspire-bigcommerce/">plugin information &amp; download page on WordPress.org</a><span id="more-1668"></span></strong></p>
<h3>Planned future updates:</h3>
<ul>
<li>Insert a product image (with an option to choose which size)</li>
<li>Improve shortcode by shortening length</li>
<li>Import product information into custom fields</li>
<li>Import all products into WordPress (as an Import module, using custom Post Types)</li>
<li>Integrate registration with the Interspire or BigCommerce APIs (add a new user as a customer)</li>
<li><strong>Leave a comment below for a requested feature!</strong></li>
</ul>
<h2>Questions? Requests? Comments? Bugs?</h2>
<p>Please leave your feedback below, and I&#8217;ll do my best to address any issues you have, and also to integrate any requests into the plugin.</p>
<p>Thanks, and enjoy!</p>
<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/seo-wordspinner/' rel='bookmark' title='SEO WordSpinner Plugin &#8211; A Killer SEO Plugin for WordPress'>WordPress Content Spinner Plugin &#8211; SEO WordSpinner</a></li>
<li><a href='http://www.seodenver.com/incorporate-wordpress-with-interspire-shopping-cart/' rel='bookmark' title='Incorporate WordPress with Interspire Shopping Cart'>Incorporate WordPress with Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/mad-mimi/' rel='bookmark' title='Mad Mimi Plugin for WordPress'>Mad Mimi Plugin for WordPress</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/interspire-bigcommerce-wordpress/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		</item>
		<item>
		<title>Preview Hidden Products in Interspire Shopping Cart</title>
		<link>http://www.seodenver.com/preview-hidden-products-in-interspire-shopping-cart/</link>
		<comments>http://www.seodenver.com/preview-hidden-products-in-interspire-shopping-cart/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 17:16:54 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[Interspire]]></category>
		<category><![CDATA[Edit Products]]></category>
		<category><![CDATA[Interspire Customization]]></category>
		<category><![CDATA[Interspire Development]]></category>
		<category><![CDATA[Interspire Mods]]></category>
		<category><![CDATA[Interspire Shopping Cart]]></category>
		<category><![CDATA[Interspire Shopping Cart Mod]]></category>

		<guid isPermaLink="false">http://www.seodenver.com/?p=1639</guid>
		<description><![CDATA[Interspire Shopping Cart admins need to preview products before they go live. Yep, we&#8217;re talking about Interspire once again today. The Interspire Shopping Cart doesn&#8217;t allow you to preview products that you are editing without making the product live in &#8230; <a href="http://www.seodenver.com/preview-hidden-products-in-interspire-shopping-cart/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/customers-also-bought-interspire-cart/' rel='bookmark' title='Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart'>Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/improve-interspire-shopping-cart-search/' rel='bookmark' title='Improve Interspire Shopping Cart Search with Smart Redirections'>Improve Interspire Shopping Cart Search with Smart Redirections</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-edit-product-link/' rel='bookmark' title='How to Add an `Edit Product` Link for Interspire Shopping Cart'>How to Add an `Edit Product` Link for Interspire Shopping Cart</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img class="post_image aligncenter" src="http://www.seodenver.com/wp-content/uploads/2010/06/1137793_70886099-e1276535685647.jpg" width="500" height="328" alt="Preview Hidden Products in Interspire Shopping Cart" /><h3>Interspire Shopping Cart admins need to preview products before they go live.</h3>
<p>Yep, we&#8217;re talking about Interspire once again today. </p>
<p>The <a href="http://www.interspire.com/240-2-3-1.html" rel="nofollow">Interspire Shopping Cart</a> doesn&#8217;t allow you to preview products that you are editing without making the product live in the store. This is plain silly; it&#8217;s vital for store owners to make sure their products pages look just as they expect when they make the product live in their store.  As it is currently (in Interspire 5.5.x), this is not possible.</p>
<p>All it takes is one minor change in code, and your world gets a lot easier.<span id="more-1639"></span></p>
<h3>Mod: Preview Products That are Not Visible</h3>
<p>Find the following code in <code>includes/classes/class.products.php</code> near line 126:</p>
<pre>
$query = "
	SELECT p.*, FLOOR(prodratingtotal/prodnumratings) AS prodavgrating, pi.*, ".GetProdCustomerGroupPriceSQL().",
	(SELECT COUNT(fieldid) FROM [|PREFIX|]product_customfields WHERE fieldprodid=p.productid) AS numcustomfields,
	(SELECT COUNT(reviewid) FROM [|PREFIX|]reviews WHERE revstatus='1' AND revproductid=p.productid AND revstatus='1') AS numreviews,
	(SELECT brandname FROM [|PREFIX|]brands WHERE brandid=p.prodbrandid) AS prodbrandname,
	(SELECT COUNT(imageid) FROM [|PREFIX|]product_images WHERE imageprodid=p.productid) AS numimages,
	(SELECT COUNT(discountid) FROM [|PREFIX|]product_discounts WHERE discountprodid=p.productid) AS numbulkdiscounts
	FROM [|PREFIX|]products p
	LEFT JOIN [|PREFIX|]product_images pi ON (pi.imageisthumb=1 AND p.productid=pi.imageprodid)
	WHERE ".$productSQL." AND p.prodvisible='1'
";
</pre>
<p>Replace this code with:</p>
<pre>
$query = "
	SELECT p.*, FLOOR(prodratingtotal/prodnumratings) AS prodavgrating, pi.*, ".GetProdCustomerGroupPriceSQL().",
	(SELECT COUNT(fieldid) FROM [|PREFIX|]product_customfields WHERE fieldprodid=p.productid) AS numcustomfields,
	(SELECT COUNT(reviewid) FROM [|PREFIX|]reviews WHERE revstatus='1' AND revproductid=p.productid AND revstatus='1') AS numreviews,
	(SELECT brandname FROM [|PREFIX|]brands WHERE brandid=p.prodbrandid) AS prodbrandname,
	(SELECT COUNT(imageid) FROM [|PREFIX|]product_images WHERE imageprodid=p.productid) AS numimages,
	(SELECT COUNT(discountid) FROM [|PREFIX|]product_discounts WHERE discountprodid=p.productid) AS numbulkdiscounts
	FROM [|PREFIX|]products p
	LEFT JOIN [|PREFIX|]product_images pi ON (pi.imageisthumb=1 AND p.productid=pi.imageprodid)
	WHERE ".$productSQL."
";

	// Begin View Hidden Products Mod
	if(!isset($GLOBALS['ISC_CLASS_ADMIN_AUTH'])) { $GLOBALS['ISC_CLASS_ADMIN_AUTH'] = GetClass('ISC_ADMIN_AUTH'); }
	// If the user has product editing capability, they can see the product when it's not visible on live store.
	if(!$GLOBALS['ISC_CLASS_ADMIN_AUTH']->HasPermission(AUTH_Edit_Products)) {
		$query .= " AND p.prodvisible='1'";
	}
	// End View Hidden Products Mod
</pre>
<h3>Now you can preview your products!</h3>
<p>Now, any user with the permission to edit products will be able to see products that are not visible to users in the store.</p>
<p>These types of small changes make the <a href="http://www.interspire.com/240-2-3-1.html"  rel="nofollow">Interspire Shopping Cart</a> an even better product.</p>
<p>Any other things you&#8217;d like to see made possible using Interspire Shopping Cart?</p>
<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/customers-also-bought-interspire-cart/' rel='bookmark' title='Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart'>Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/improve-interspire-shopping-cart-search/' rel='bookmark' title='Improve Interspire Shopping Cart Search with Smart Redirections'>Improve Interspire Shopping Cart Search with Smart Redirections</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-edit-product-link/' rel='bookmark' title='How to Add an `Edit Product` Link for Interspire Shopping Cart'>How to Add an `Edit Product` Link for Interspire Shopping Cart</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/preview-hidden-products-in-interspire-shopping-cart/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart</title>
		<link>http://www.seodenver.com/customers-also-bought-interspire-cart/</link>
		<comments>http://www.seodenver.com/customers-also-bought-interspire-cart/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 17:58:00 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[Interspire]]></category>
		<category><![CDATA[Interspire Customization]]></category>
		<category><![CDATA[Interspire Development]]></category>
		<category><![CDATA[Interspire Shopping Cart Mod]]></category>
		<category><![CDATA[Shopping Cart]]></category>
		<category><![CDATA[SideProductAlsoBought]]></category>

		<guid isPermaLink="false">http://www.seodenver.com/?p=1616</guid>
		<description><![CDATA[&#8220;Customers Also Purchased&#8221; should be on the cart page, right? The Interspire Shopping Cart has a &#8220;Customers Also Bought&#8221; feature, but for some reason, they didn&#8217;t think to make it functional on the cart page &#8212; one of the most &#8230; <a href="http://www.seodenver.com/customers-also-bought-interspire-cart/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-edit-product-link/' rel='bookmark' title='How to Add an `Edit Product` Link for Interspire Shopping Cart'>How to Add an `Edit Product` Link for Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-brands-dropdown/' rel='bookmark' title='Interspire Shopping Cart &#8212; Add a Brands Drop-Down Menu'>Interspire Shopping Cart &#8212; Add a Brands Drop-Down Menu</a></li>
<li><a href='http://www.seodenver.com/preview-hidden-products-in-interspire-shopping-cart/' rel='bookmark' title='Preview Hidden Products in Interspire Shopping Cart'>Preview Hidden Products in Interspire Shopping Cart</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<h3>&#8220;Customers Also Purchased&#8221; should be on the cart page, right?</h3>
<p>The <a href="http://www.interspire.com/240-2-3-1.html">Interspire Shopping Cart</a> has a &#8220;Customers Also Bought&#8221; feature, but for some reason, they didn&#8217;t think to make it functional on the cart page &#8212; one of the most useful (and obvious) places to have the feature. This modification will allow you to place the <code>SideProductAlsoBought</code> panel into your theme&#8217;s <code>cart.html</code> template, using the <code>%%Panel.SideProductAlsoBought%%</code> placeholder in the template.</p>
<h3>Goals of this mod</h3>
<ol>
<li>Keep the existing &#8220;Also Bought/Purchased&#8221; functionality working on product pages</li>
<li>Add &#8220;Also Bought/Purchased&#8221; functionality to the cart page</li>
<li>Give an option where it will only display &#8220;Also Bought&#8221; for the most recently added product</li>
</ol>
<p>With those goals in mind, I went about implementing a solution, which is below:<span id="more-1616"></span></p>
<h4>Find the following code in <code>/includes/display/SideProductAlsoBought.php</code>:</h4>
<pre>$query = "
	SELECT ordprodid
	FROM [|PREFIX|]order_products
	WHERE orderorderid IN (SELECT orderorderid FROM [|PREFIX|]order_products WHERE ordprodid='".$GLOBALS['ISC_CLASS_PRODUCT']-&gt;GetProductId()."') AND ordprodid != ".$GLOBALS['ISC_CLASS_PRODUCT']-&gt;GetProductId()."
	GROUP BY ordprodid
	ORDER BY COUNT(ordprodid) DESC
";</pre>
<h4>Add replace it with this code:</h4>
<pre>// Begin: Allow users also bought for recently added products
$OnlyRecentlyAdded = false; // make true to only show Also Bought for the product that was just added.

if(isset($GLOBALS['ISC_CLASS_CART'])) {
	if($OnlyRecentlyAdded &amp;&#038; isset($_REQUEST['suggest'])) {
		$cartProduct = $GLOBALS['ISC_CLASS_CART']-&gt;api-&gt;GetProductInCart($_REQUEST['suggest']);
		if(is_array($cartProduct)) {
			$this-&gt;newCartItem = $_REQUEST['suggest'];
			$productId = $cartProduct['product_id'];
		}

		$queryIds[0] = &quot; ordprodid='&quot;.$productId.&quot;'&quot;;
		$queryIds[1] = &quot; ordprodid !=&quot;.$productId;

	} else {
		$cartProducts = $GLOBALS['ISC_CLASS_CART']-&gt;api-&gt;GetProductsInCart();
		if(is_array($cartProducts)) {
			foreach($cartProducts as $product) {
				$i++;
				if(!in_array($product['product_id'], $productIds)) {
					$productIds[] = $product['product_id'];
					$queryIds[0] .= ' ordprodid=\''.$product['product_id'].'\'';
					$queryIds[1] .= ' ordprodid != '.$product['product_id'];
				}
				if(isset($cartProducts[$i]) &amp;&#038; !in_array($cartProducts[$i]['product_id'],$productIds)) {
					$queryIds[0] .= ' OR';
					$queryIds[1] .= ' AND';
				}
			}
		}
	}

} else {
	$queryIds[0] = &quot; ordprodid='&quot;.$GLOBALS['ISC_CLASS_PRODUCT']-&gt;GetProductId().&quot;'&quot;;
	$queryIds[1] = &quot; ordprodid !=&quot;.$GLOBALS['ISC_CLASS_PRODUCT']-&gt;GetProductId();
}

$query = &quot;
	SELECT ordprodid
	FROM [|PREFIX|]order_products
	WHERE orderorderid IN (SELECT orderorderid FROM [|PREFIX|]order_products WHERE&quot;.$queryIds[0].&quot;) AND&quot;.$queryIds[1].&quot;
	GROUP BY ordprodid
	ORDER BY COUNT(ordprodid) DESC
&quot;;
// End: Allow users also bought for recently added products</pre>
<p>This adds a little load time to the <code>cart.php</code> page, but it will help cross-sell products.</p>

<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-edit-product-link/' rel='bookmark' title='How to Add an `Edit Product` Link for Interspire Shopping Cart'>How to Add an `Edit Product` Link for Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-brands-dropdown/' rel='bookmark' title='Interspire Shopping Cart &#8212; Add a Brands Drop-Down Menu'>Interspire Shopping Cart &#8212; Add a Brands Drop-Down Menu</a></li>
<li><a href='http://www.seodenver.com/preview-hidden-products-in-interspire-shopping-cart/' rel='bookmark' title='Preview Hidden Products in Interspire Shopping Cart'>Preview Hidden Products in Interspire Shopping Cart</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/customers-also-bought-interspire-cart/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Generate CSS Body Classes in Interspire Shopping Cart</title>
		<link>http://www.seodenver.com/generate-css-body-classes-interspire-shopping-cart/</link>
		<comments>http://www.seodenver.com/generate-css-body-classes-interspire-shopping-cart/#comments</comments>
		<pubDate>Thu, 20 May 2010 16:18:10 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Interspire]]></category>
		<category><![CDATA[body_class]]></category>
		<category><![CDATA[Interspire Customization]]></category>
		<category><![CDATA[Interspire Development]]></category>
		<category><![CDATA[Interspire Shopping Cart]]></category>
		<category><![CDATA[Interspire Shopping Cart Mod]]></category>

		<guid isPermaLink="false">http://www.seodenver.com/?p=1599</guid>
		<description><![CDATA[If you&#8217;re used to WordPress&#8217; body_class() function, this post for you. Working with WordPress, it&#8217;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 &#8230; <a href="http://www.seodenver.com/generate-css-body-classes-interspire-shopping-cart/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/customers-also-bought-interspire-cart/' rel='bookmark' title='Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart'>Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-edit-product-link/' rel='bookmark' title='How to Add an `Edit Product` Link for Interspire Shopping Cart'>How to Add an `Edit Product` Link for Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/preview-hidden-products-in-interspire-shopping-cart/' rel='bookmark' title='Preview Hidden Products in Interspire Shopping Cart'>Preview Hidden Products in Interspire Shopping Cart</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img class="post_image aligncenter" src="http://www.seodenver.com/wp-content/uploads/2010/05/63758_9746-e1274371823859.jpg" width="500" height="231" alt="Interspire CSS Body Class" />
<h2>If you&#8217;re used to WordPress&#8217; <code>body_class()</code> function, this post for you.</h2>
<p>Working with WordPress, it&#8217;s easy to get accustomed to some of its nice features, like the <a href="http://codex.wordpress.org/Template_Tags/body_class">body_class() function</a> introduced in WP 2.8. When working with <a href="http://www.interspire.com/240-2-1-7.html">Interspire Shopping Cart</a>, I wanted the same level of information added to the page&#8217;s <code>&lt;body&gt;</code> tag.<span id="more-1599"></span></p>
<h2>Let&#8217;s do this in three stages:</h2>
<h3>1. Generate the body class</h3>
<p>Starting from Dave Beck&#8217;s great <a href="http://www.shoppingcartstrategies.com/interspire/seo-index-module/">canonical link module</a>, I modified the code to create a list of classes based on what page is being viewed. This provides a lot of great information:</p>
<ul>
<li>Brand
<ul>
<li>Brand ID</li>
<li>Brand name</li>
</ul>
</li>
<li>Category
<ul>
<li>Category ID</li>
<li>Category Name</li>
</ul>
</li>
<li>Home</li>
<li>Page
<ul>
<li>Page ID</li>
<li>Page Name</li>
</ul>
</li>
<li>Sorted/Filtered/Paginated
<ul>
<li>Shop by Price</li>
<li>Tag</li>
<li>Sort type</li>
<li>Page number</li>
</ul>
</li>
<li>Checkout/Account
<ul>
<li>Cart</li>
<li>Gift Certificate</li>
<li>Login</li>
<li>Search</li>
<li>SSL</li>
<li>Wishlist</li>
</ul>
</li>
</ul>
<p>This is very helpful stuff for custom styling using CSS.</p>
<h4>Add to the bottom of the <code>/lib/general.php</code> file:</h4>
<pre lang="php">function BodyClass() {
	$bodyClass = array();

	if(isset($GLOBALS['ISC_CLASS_BRANDS'])) {
		$bodyClass[] = 'brand';
		$bodyClass[] = "brandID-".$GLOBALS['ISC_CLASS_BRANDS']-&gt;GetId();
		$bodyClass[] = "brandName-".$GLOBALS['ISC_CLASS_BRANDS']-&gt;GetBrandName();
	}

	if(isset($GLOBALS['ISC_CLASS_CATEGORY']) &amp;&amp; isset($GLOBALS['CatId'])) {
		$bodyClass[] = 'category';
		$bodyClass[] = "catID-{$GLOBALS['CatId']}";
		$bodyClass[] = "catName-".$GLOBALS['ISC_CLASS_CATEGORY']-&gt;GetName();
	}

	if(isset($GLOBALS['ISC_CLASS_INDEX'])) {
		$bodyClass[] = "home";
	}

	if(isset($GLOBALS['ISC_CLASS_PRODUCT']) &amp;&amp; $GLOBALS['ISC_CLASS_PRODUCT']-&gt;GetProductId() &gt; 0) {
		$bodyClass[] = 'product';
		$bodyClass[] = "productID-".$GLOBALS['ISC_CLASS_PRODUCT']-&gt;GetProductId();
		$bodyClass[] = "productName-".$GLOBALS['ISC_CLASS_PRODUCT']-&gt;GetProductName();
	}

	if(isset($GLOBALS['ISC_CLASS_PAGE']) &amp;&amp; !isset($GLOBALS['ISC_CLASS_INDEX']) &amp;&amp; $GLOBALS['ISC_CLASS_PAGE']-&gt;GetPageId() &gt; 0) {
		$bodyClass[] = 'page';
		$bodyClass[] = "pageID-".$GLOBALS['ISC_CLASS_PAGE']-&gt;GetPageId();
		$bodyClass[] = "pageName-".$GLOBALS['ISC_CLASS_PAGE']-&gt;GetPageTitle();
	}

	if(isset($GLOBALS['PriceMin']) &amp;&amp; isset($GLOBALS['PriceMax'])) {
		$bodyClass[] = 'price';
		$bodyClass[] = "shopByPrice";
	}

	if(isset($GLOBALS['ISC_CLASS_TAGS'])) {
		$bodyClass[] = 'tag';
		$bodyClass[] = "productTags";
	}

	if(isset($_REQUEST['page']) &amp;&amp; !empty($_REQUEST['page'])) {
		$bodyClass[] = 'paginated';
		$bodyClass[] = 'page'.(int)$_REQUEST['page'];
	}

	if(isset($_REQUEST['sort']) &amp;&amp; !empty($_REQUEST['sort'])) {
		$bodyClass[] = 'sort';
		$bodyClass[] = 'sort'.ucfirst($_REQUEST['sort']);
	}

	$current_url = $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];

		$noindex_url = str_replace("http://", "", $GLOBALS['ShopPathNormal'].'/cart.php');
		if($current_url == $noindex_url) {
			$bodyClass[] = "cart";
		}

		$noindex_url = str_replace("http://", "", $GLOBALS['ShopPathNormal'].'/giftcertificates.php');
		if($current_url == $noindex_url) {
			$bodyClass[] = "giftCertificates";
		}

		$noindex_url = str_replace("http://", "", $GLOBALS['ShopPathNormal'].'/login.php');
		if($current_url == $noindex_url) {
			$bodyClass[] = "login";
		}

		$noindex_url = str_replace("http://", "", $GLOBALS['ShopPathNormal'].'/search.php');
		$split_url = explode('?', $current_url);
		$split_url = $split_url[0];
		if($split_url == $noindex_url) {
			$bodyClass[] = "search";
		}

		$noindex_url = str_replace("http://", "", $GLOBALS['ShopPathNormal'].'/login.php?from=wishlist.php%3F');
		if($current_url == $noindex_url) {
			$bodyClass[] = "wishList";
		}

		if(($GLOBALS['ISC_CFG']["UseSSL"] &gt;= 1) &amp;&amp; ($_SERVER['HTTPS'] == 'on')) {
			$bodyClass[] = "ssl";
		}
	$i = 0;
	foreach($bodyClass as $class) {
		$class = preg_replace('/\%[0-9]{2}/', '', $class); //mixed pattern, mixed replacement, mixed subject [, int limit [, int &amp;count]])
		$class = str_replace(array('+','\'',' ','&lt;','&gt;','&amp;'),'', $class);
		$bodyClass[$i] = $class;
		$i++;
	}
	$bodyClass = implode(' ', $bodyClass);

	// WordPress integration
	if(function_exists('get_body_class')) {
		$wpBodyClass = get_body_class();
		$wpBodyClass = implode(' ', $wpBodyClass);
		$wpBodyClass = str_replace('home', '', $wpBodyClass);
		$wpBodyClass = trim($wpBodyClass);
		if(!empty($WPBodyClass)) {
			$bodyClass .= ' blog wordpress '.$wpBodyClass;
		}
	}

	return $bodyClass;
}</pre>
<h3>2. Generate the global variable <code>BodyClass</code></h3>
<p>Since code placed in <code>general.php</code> is available to every script in the cart, we can use the result of the function in the script that generates the website&#8217;s <code>&lt;head&gt;</code>, <code>HTMLHead.php</code>. We&#8217;re going to create a global variable named <code>BodyClass</code>, and add it to our template.</p>
<h4>Add to the bottom of the <code>/includes/display/HTMLHead.php</code> file:</h4>
<pre>$GLOBALS['BodyClass'] = ' class="'.BodyClass().'"';</pre>
<h3>3. Add to your template</h3>
<p>Now the not-terribly-fun part: in every template file, find <code>&lt;body&gt;</code> and replace with <code>&lt;body%%GLOBAL_BodyClass%%&gt;</code> &#8212; you may need to go into the <code>__master</code> folder to do this, depending on your setup.</p>
<p>This will generate CSS classes like this: <code>&lt;body class="category catID-123 catName-Example"&gt;</code>, and will give you microscopic control over your template&#8217;s styling.</p>
<h2>How would you do it?</h2>
<p>Manually adding the <code>BodyClass</code> variable into each template is cumbersome, but the only other way to do it is to use ob_start() and process the page before it&#8217;s displayed to the browser, and that would add load time. Any other ideas on how to achieve this?</p>
<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/customers-also-bought-interspire-cart/' rel='bookmark' title='Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart'>Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-edit-product-link/' rel='bookmark' title='How to Add an `Edit Product` Link for Interspire Shopping Cart'>How to Add an `Edit Product` Link for Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/preview-hidden-products-in-interspire-shopping-cart/' rel='bookmark' title='Preview Hidden Products in Interspire Shopping Cart'>Preview Hidden Products in Interspire Shopping Cart</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/generate-css-body-classes-interspire-shopping-cart/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Improve Interspire Shopping Cart Search with Smart Redirections</title>
		<link>http://www.seodenver.com/improve-interspire-shopping-cart-search/</link>
		<comments>http://www.seodenver.com/improve-interspire-shopping-cart-search/#comments</comments>
		<pubDate>Fri, 07 May 2010 16:55:25 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[Interspire]]></category>
		<category><![CDATA[Interspire Customization]]></category>
		<category><![CDATA[Interspire Development]]></category>
		<category><![CDATA[Interspire Shopping Cart]]></category>
		<category><![CDATA[Interspire Shopping Cart Mod]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[Search Results]]></category>

		<guid isPermaLink="false">http://www.seodenver.com/?p=1581</guid>
		<description><![CDATA[Good search results are magical I am always impressed when a website&#8217;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 &#8230; <a href="http://www.seodenver.com/improve-interspire-shopping-cart-search/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/preview-hidden-products-in-interspire-shopping-cart/' rel='bookmark' title='Preview Hidden Products in Interspire Shopping Cart'>Preview Hidden Products in Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/customers-also-bought-interspire-cart/' rel='bookmark' title='Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart'>Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-edit-product-link/' rel='bookmark' title='How to Add an `Edit Product` Link for Interspire Shopping Cart'>How to Add an `Edit Product` Link for Interspire Shopping Cart</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<h2>Good search results are magical</h2>
<p>I am always impressed when a website&#8217;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&#8217;re looking for first. But <strong>this is not good enough</strong>, as it adds an extra click in the process.</p>
<p>If your users are specific enough to type in an exact product name, brand name, product SKU or product ID, you better get them to the product they want, right away &#8212; they&#8217;re likely to buy!  I don&#8217;t want to show them a search results page, I want them to see the product or brand page itself.<span id="more-1581"></span></p>
<h3>If it&#8217;s a damn good match, send&#8217;em along!</h3>
<p>This script will redirect users if there&#8217;s a good reason to.</p>
<ul>
<li><strong>Products</strong>
<ul>
<li>Exact product name match (case-insensitive)</li>
<li>Exact product SKU match</li>
<li>Exact product ID match</li>
<li>&#8220;Good&#8217;nuf&#8221; product match: if there&#8217;s only one product result, and that result has a relevance score of 75 or above</li>
</ul>
</li>
<li><strong>Brands</strong>
<ul>
<li> Exact brand name match (case-insensitive)</li>
</ul>
</li>
</ul>
<h3>Installation of the Smart Search Redirection mod</h3>
<p>Open the <code>class.products.php</code>, found at <code>includes/classes/class.products.php</code>. Find the <code>searchForItems()</code> function (near line 1160), and <strong>above <code>return $products;</code></strong> at the end of the function, insert the following code:</p>
<pre lang="php">/*
 * Begin Smart Search Redirection mod
 */
$redirect = false;

// Product redirect
foreach($products as $row) {
	if(	trim(strtolower($searchQuery['search_query'])) == trim(strtolower($row['prodcode'])) ||  // Query = SKU
		trim(strtolower($searchQuery['search_query'])) == trim(strtolower($row['productid'])) || // Query = Product ID
		trim(strtolower($searchQuery['search_query'])) == trim(strtolower($row['prodname'])) || // Query = Product Name
		$row['score'] &gt; 75 &amp;&amp; sizeof($products) == 1 // Relevance is good, and there's only one product result
	) {
		$redirect = ProdLink($row["prodname"]);
	}
}

if(empty($redirect)) {
	// Generate list of brand names
	foreach($products as $p) { $brands[] = $p['prodbrandid']; }
	$brandQuery = '"'.implode('" OR brandid="', array_unique($brands)).'"'; // Group brands by ID, generate query string
	$query = sprintf("select brandname from [|PREFIX|]brands where brandid=$brandQuery", $p['prodbrandid']);
	$result = $GLOBALS['ISC_CLASS_DB']-&gt;Query($query);

	// Brand name match redirect
	while($brand = $GLOBALS['ISC_CLASS_DB']-&gt;Fetch($result)) {
		if(trim(strtolower($searchQuery['search_query'])) == trim(strtolower($brand['brandname'])) &amp;&amp; $redirect === false) {
			$redirect = BrandLink($brand["brandname"]);
		}
	}
}

// If there's a redirection found, do it up!
if(!empty($redirect)) {
	ob_end_clean();
	header("Location: $redirect");
	die();
}
/*
 * End Smart Search Redirection mod
 */</pre>
<h2>Ahh, nothing like better search!</h2>
<p>Now that your search is taking users where they want to go, your user satisfaction should go up, and hopefully your sales and conversion rate!</p>
<p>Let me know if you have improvements to this code, and what your experience has been with it.</p>
<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/preview-hidden-products-in-interspire-shopping-cart/' rel='bookmark' title='Preview Hidden Products in Interspire Shopping Cart'>Preview Hidden Products in Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/customers-also-bought-interspire-cart/' rel='bookmark' title='Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart'>Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-edit-product-link/' rel='bookmark' title='How to Add an `Edit Product` Link for Interspire Shopping Cart'>How to Add an `Edit Product` Link for Interspire Shopping Cart</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/improve-interspire-shopping-cart-search/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to Add an `Edit Product` Link for Interspire Shopping Cart</title>
		<link>http://www.seodenver.com/interspire-shopping-cart-edit-product-link/</link>
		<comments>http://www.seodenver.com/interspire-shopping-cart-edit-product-link/#comments</comments>
		<pubDate>Thu, 06 May 2010 19:54:13 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[Interspire]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Interspire Development]]></category>
		<category><![CDATA[Interspire Shopping Cart]]></category>
		<category><![CDATA[Interspire Shopping Cart Mod]]></category>

		<guid isPermaLink="false">http://www.seodenver.com/?p=1562</guid>
		<description><![CDATA[Why can&#8217;t I just click a link to edit the product I&#8217;m viewing? Interspire, I love ya, but the Interspire Shopping Cart has some silly omissions. Like a simple &#8220;Edit Product&#8221; link if you&#8217;re logged in as an administrator. Instead, &#8230; <a href="http://www.seodenver.com/interspire-shopping-cart-edit-product-link/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/customers-also-bought-interspire-cart/' rel='bookmark' title='Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart'>Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-brands-dropdown/' rel='bookmark' title='Interspire Shopping Cart &#8212; Add a Brands Drop-Down Menu'>Interspire Shopping Cart &#8212; Add a Brands Drop-Down Menu</a></li>
<li><a href='http://www.seodenver.com/preview-hidden-products-in-interspire-shopping-cart/' rel='bookmark' title='Preview Hidden Products in Interspire Shopping Cart'>Preview Hidden Products in Interspire Shopping Cart</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.interspire.com/240-2-1-7.html" rel="external" target="_blank"><img border="0" src="http://www.seodenver.com/wp-content/uploads/2010/05/Interspire.jpg" width="468" height="60"></a></p>
<h2>Why can&#8217;t I just click a link to edit the product I&#8217;m viewing?</h2>
<p>Interspire, I love ya, but the <a href="http://www.interspire.com/240-2-3-1.html">Interspire Shopping Cart</a> has some silly omissions. Like a simple &#8220;Edit Product&#8221; link if you&#8217;re logged in as an administrator. Instead, you have to go to the backend, search for the product, then edit it&#8230;which takes a solid 20 seconds.</p>
<p>Well, I got tired of that, so here&#8217;s a way to <strong>generate a proper Edit Product link</strong>.<span id="more-1562"></span></p>
<h2>Part 1: Generate the link</h2>
<p>In <code>includes/display/ProductDetails.php</code>:</p>
<p>Find <code>$this->SetProductVariations();</code>. Add this in a line below it:</p>
<pre lang="php">$this->SetEditProductLink();</pre>
<p>Add this following code just before the last, closing curly bracket in the file <code>}</code></p>
<pre lang="php">
/**
 * Create a link to allow users with permission to edit products from the products page
 */
public function SetEditProductLink()
{
	$GLOBALS['EditProductLink'] = '';
	if(!isset($GLOBALS['ISC_CLASS_ADMIN_AUTH'])) { $GLOBALS['ISC_CLASS_ADMIN_AUTH'] = GetClass('ISC_ADMIN_AUTH'); }
	if($GLOBALS['ISC_CLASS_ADMIN_AUTH']->HasPermission(AUTH_Edit_Products)) {
		$GLOBALS['EditProductLink'] = sprintf('&lt;a title=&quot;%3$s&quot; class=&quot;Action&quot; href=&quot;'.$GLOBALS['ShopPath'].'/admin/index.php?ToDo=editProduct&amp;productId=%2$d&quot;&gt;%1$s&lt;/a&gt;', 'Edit Product', $GLOBALS['ProductId'], &quot;Edit product &lsquo;{$GLOBALS['ProductName']}&rsquo;&quot;);
	}
}
</pre>
<h2>Part 2: Place the link</h2>
<p>Now the link will be generated in the global variable <code>EditProductLink</code> in your template&#8217;s ProductDetails panel.</p>
<ul>
<li>Go to your template</li>
<li>Find <code>Panels/ProductDetails.html</code></li>
<li>Add <code>%%GLOBAL_EditProductLink%%</code> to your template where you want the link. I like it after the add to cart button (<code>%%SNIPPET_ProductAddToCart%%</code>).</li>
<li>You&#8217;re all set!</li>
</ul>
<h3>Lots of time saved by all&#8230;</h3>
<p>Hopefully this helps save you some frustration while polishing your Interspire store.</p>

<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/customers-also-bought-interspire-cart/' rel='bookmark' title='Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart'>Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-brands-dropdown/' rel='bookmark' title='Interspire Shopping Cart &#8212; Add a Brands Drop-Down Menu'>Interspire Shopping Cart &#8212; Add a Brands Drop-Down Menu</a></li>
<li><a href='http://www.seodenver.com/preview-hidden-products-in-interspire-shopping-cart/' rel='bookmark' title='Preview Hidden Products in Interspire Shopping Cart'>Preview Hidden Products in Interspire Shopping Cart</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/interspire-shopping-cart-edit-product-link/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Interspire Shopping Cart &#8212; Add a Brands Drop-Down Menu</title>
		<link>http://www.seodenver.com/interspire-shopping-cart-brands-dropdown/</link>
		<comments>http://www.seodenver.com/interspire-shopping-cart-brands-dropdown/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 00:08:13 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[Interspire]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Interspire Brands Drop Down]]></category>
		<category><![CDATA[Interspire Customization]]></category>
		<category><![CDATA[Interspire Development]]></category>
		<category><![CDATA[Interspire Shopping Cart]]></category>
		<category><![CDATA[Shopping Cart]]></category>

		<guid isPermaLink="false">http://www.seodenver.com/?p=927</guid>
		<description><![CDATA[Don&#8217;t use the Interspire Shopping Cart? Check it out; it rocks. The Interspire Shopping Cart is a great tool, but it&#8217;s missing some stuff out of the box. I am working on a shopping cart for a client, and wanted &#8230; <a href="http://www.seodenver.com/interspire-shopping-cart-brands-dropdown/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/customers-also-bought-interspire-cart/' rel='bookmark' title='Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart'>Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-edit-product-link/' rel='bookmark' title='How to Add an `Edit Product` Link for Interspire Shopping Cart'>How to Add an `Edit Product` Link for Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/improve-interspire-shopping-cart-search/' rel='bookmark' title='Improve Interspire Shopping Cart Search with Smart Redirections'>Improve Interspire Shopping Cart Search with Smart Redirections</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p class="donatebox">Don&#8217;t use the Interspire Shopping Cart? <a href="http://www.interspire.com/240-2-3-1.html">Check it out; it rocks</a>.</p>
<h2 class="halfmargintop">The Interspire Shopping Cart is a great tool, but it&#8217;s missing some stuff out of the box.</h2>
<div id="attachment_928" class="wp-caption alignright" style="width: 196px"><img class="size-full wp-image-928" title="Brands Dropdown" src="http://www.seodenver.com/wp-content/uploads/2009/08/Picture-342.jpg" alt="This is how the Panel looks in the 'Adventure' theme." width="186" height="63" /><p class="wp-caption-text">This is how the Panel looks in the &#39;Adventure&#39; theme.</p></div>
<p>I am working on a shopping cart for a client, and wanted to incorporate a drop down menu of brand names using a standard <code>&lt;select&gt;</code> form. Sounds easy, right?  Well, it&#8217;s not included in the <a href="http://www.interspire.com/240-2-3-1.html">Interspire cart</a>.</p>
<h4>The Interspire cart has few brand options out of the box:</h4>
<ul>
<li>The <a href="http://www.interspire.com/support/kb/questions/647/What+is+the+brands+tag+cloud+and+how+does+it+work%3F">Brands tag cloud</a> &#8211; using the <code>SideBrandTagCloud.html</code> Panel</li>
<li>Brands unordered list &#8211; using the <code>SideShopByBrand.html</code> or <code>SideShopByBrandFull.html</code> Panels</li>
</ul>
<h3>This tutorial will show you how to <strong>add a brands drop down menu in 5 steps</strong>.</h3>
<p><span id="more-927"></span></p>
<h2>Add a brand drop-down menu in the Interspire Shopping Cart</h2>
<p>Follow the steps below and you&#8217;ll have it set up in no time.</p>
<ol>
<li>Download this file:<br />
<h3><img src="http://www.seodenver.com/wp-content/plugins/wp-downloadmanager/images/ext/zip.gif" alt="" title="" style="vertical-align: middle;"> <strong><a href="http://www.seodenver.com/download/ShopbyBrandDropdown.zip">Shop by Brands Dropdown for Interspire Shopping Cart</strong></h3>
</li>
<li>Unzip the file</li>
<li>Upload the files into their respective folders</li>
<li>Add <code>%%Panel.SideShopByBrandDropdown%%</code> to your template</li>
<li>So, now that should be working&#8230;no sweat! <strong>Any questions?</strong></li>
</ol>
<h4>Note: Post updated with downloadable files instead of embedded code.</h4>
<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/customers-also-bought-interspire-cart/' rel='bookmark' title='Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart'>Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-edit-product-link/' rel='bookmark' title='How to Add an `Edit Product` Link for Interspire Shopping Cart'>How to Add an `Edit Product` Link for Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/improve-interspire-shopping-cart-search/' rel='bookmark' title='Improve Interspire Shopping Cart Search with Smart Redirections'>Improve Interspire Shopping Cart Search with Smart Redirections</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/interspire-shopping-cart-brands-dropdown/feed/</wfw:commentRss>
		<slash:comments>39</slash:comments>
		</item>
		<item>
		<title>Incorporate WordPress with Interspire Shopping Cart</title>
		<link>http://www.seodenver.com/incorporate-wordpress-with-interspire-shopping-cart/</link>
		<comments>http://www.seodenver.com/incorporate-wordpress-with-interspire-shopping-cart/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 00:04:34 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[Interspire]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Interspire Shopping Cart]]></category>
		<category><![CDATA[Shopping Cart]]></category>
		<category><![CDATA[WordPress Integration]]></category>

		<guid isPermaLink="false">http://seodenver.com/?p=644</guid>
		<description><![CDATA[I&#8217;m going to elaborate on this further (and about Interspire in general), but for those of you who want to make WordPress functions available throughout your shopping cart, here&#8217;s how: Before the closing ?&#62; in the init.php file, add the following code: &#8230; <a href="http://www.seodenver.com/incorporate-wordpress-with-interspire-shopping-cart/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/customers-also-bought-interspire-cart/' rel='bookmark' title='Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart'>Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/generate-css-body-classes-interspire-shopping-cart/' rel='bookmark' title='Generate CSS Body Classes in Interspire Shopping Cart'>Generate CSS Body Classes in Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-edit-product-link/' rel='bookmark' title='How to Add an `Edit Product` Link for Interspire Shopping Cart'>How to Add an `Edit Product` Link for Interspire Shopping Cart</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m going to elaborate on this further (and about <a href="http://www.interspire.com/240.html">Interspire</a> in general), but for those of you who want to make WordPress functions available throughout your shopping cart, here&#8217;s how:</p>
<p><del datetime="2010-04-19T17:25:56+00:00">Before the closing <code>?&gt;</code> in the init.php file, add the following code:<br />
<code>require(realpath(ISC_BASE_PATH).'/blog-directory/wp-blog-header.php');</code>, where <code>/blog-directory/</code> is your WP installation. If you installed it in the root directory, then you&#8217;d simply need <code>require(realpath(ISC_BASE_PATH).'/wp-blog-header.php');</code></del> (see Update below).</p>
<p><strong>Update</strong>: There is a bug that happens when the include is placed at the bottom of init.php; instead, add <code>require(realpath(ISC_BASE_PATH).'/wp-blog-header.php');</code> on the line below <code>require_once(dirname(__FILE__).'/lib/init.php');</code> (line 3).</p>
<p>Voila! That simple.  Any questions?</p>
<h3>Interspire + WordPress Update:</h3>
<p>I don&#8217;t know if it&#8217;s because WordPress has been updated, or if it&#8217;s because Interspire has been, but there is a function conflict going on between the two softwares. Unfortunately, <strong>you need to replace your WordPress installation&#8217;s <code>wp-includes/formatting.php</code> file</strong> to have <code>if(!function_exists())</code> for every function.</p>
<p>Here&#8217;s the file:<br />
Note: There is a file embedded within this post, please visit this post to download the file.</p>
<h3> Interspire + WordPress Update 2:</h3>
<p>So, after searching Interspire Shopping Cart for each function in <code>formatting.php</code>, I found there are only two conflicting functions:</p>
<ul>
<li><code>convert_chars()</code></li>
<li><code>stripslashes_deep()</code></li>
</ul>
<p>If you wrap these functions found in <code>/wp-includes/formatting.php</code> in <code>function_exists</code>, everything works just dandy.</p>
<h2>A very, vitally important note:</h2>
<p>After some frustrating hours trying to figure out why adding products to the cart wasn&#8217;t working, I discovered that the WordPress function <code>wp_unregister_GLOBALS()</code> was screwing up the works. I also <a href="http://blog.ginchen.de/en/2008/08/15/session-variablen-in-wordpress/">found another article</a> with the same problem, and the solution: <strong>turn off register globals</strong>. You need to update your php.ini file with <code>register_globals Off</code>. You can also <a href="http://www.google.com/search?q=turn+off+register+globals">search Google for more info</a> on how to do that.</p>
<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/customers-also-bought-interspire-cart/' rel='bookmark' title='Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart'>Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/generate-css-body-classes-interspire-shopping-cart/' rel='bookmark' title='Generate CSS Body Classes in Interspire Shopping Cart'>Generate CSS Body Classes in Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-edit-product-link/' rel='bookmark' title='How to Add an `Edit Product` Link for Interspire Shopping Cart'>How to Add an `Edit Product` Link for Interspire Shopping Cart</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/incorporate-wordpress-with-interspire-shopping-cart/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Recover your password from Interspire Shopping Cart</title>
		<link>http://www.seodenver.com/interspire-recover-password/</link>
		<comments>http://www.seodenver.com/interspire-recover-password/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 17:31:13 +0000</pubDate>
		<dc:creator>Zack Katz</dc:creator>
				<category><![CDATA[Interspire]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[eCommerce]]></category>
		<category><![CDATA[Local Dev]]></category>
		<category><![CDATA[Lost Password]]></category>
		<category><![CDATA[osCommerce]]></category>
		<category><![CDATA[Shopping Cart]]></category>

		<guid isPermaLink="false">http://seodenver.com/?p=593</guid>
		<description><![CDATA[I develop my websites locally, so sending Lost Password emails never works. When I forget what my password is, it&#8217;s quite the hassle. I&#8217;m developing an Interspire Shopping Cart website, and lo and behold, I lost the password. Here&#8217;s how &#8230; <a href="http://www.seodenver.com/interspire-recover-password/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.seodenver.com/customers-also-bought-interspire-cart/' rel='bookmark' title='Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart'>Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/incorporate-wordpress-with-interspire-shopping-cart/' rel='bookmark' title='Incorporate WordPress with Interspire Shopping Cart'>Incorporate WordPress with Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-brands-dropdown/' rel='bookmark' title='Interspire Shopping Cart &#8212; Add a Brands Drop-Down Menu'>Interspire Shopping Cart &#8212; Add a Brands Drop-Down Menu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-594" title="Where did my Interspire shopping cart password go?" src="http://www.seodenver.com/wp-content/uploads/HLIC/4b9c5195a17bcaacd821b84f9782a99f.jpg" alt="Where did my Interspire password go?" width="500" height="304" /><br />
 I develop my websites locally, so sending Lost Password emails never works. When I forget what my password is, it&#8217;s quite the hassle.</p>
<p>I&#8217;m developing an <a href="http://www.interspire.com/240-2-3-1.html">Interspire Shopping Cart</a> website, and lo and behold, I lost the password.</p>
<h3>Here&#8217;s how to recover your password from Interspire Shopping Cart:<span id="more-593"></span></h3>
<ol>
<li>Go to <code>/admin/includes/classes/class.auth.php</code>, line 45 and change<br />
 <code>$GLOBALS['Message'] = sprintf(GetLang("ConfirmPassEmailSent"), isc_html_escape($email));</code><br />
 to this:<br />
 <code>$GLOBALS['Message'] = $message;</code></li>
<li>Submit the Forgot Password form again, and you&#8217;ll see the confirmation link.</li>
<li><strong>Change the code back immediately!</strong> If you forget this, and make your cart live, you will have screwed the proverbial pooch.</li>
</ol>
<p>I will be writing about my experience developing the Interspire cart, but so far, it&#8217;s an elegant &#8212; and full featured &#8212; shopping cart. It&#8217;s a little complex behind the scenes (after working with &#8216;Code is Poetry&#8217; WordPress), but no more so than <a href="http://seodenver.com/tag/oscommerce/">osCommerce</a>, and much nicer administration.</p>
<p><strong>HEY &#8212; Did you change your password back yet? Do it!</strong></p>
<p>Related posts:<ol>
<li><a href='http://www.seodenver.com/customers-also-bought-interspire-cart/' rel='bookmark' title='Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart'>Add &#8216;Customers Also Purchased&#8217; to the Cart Page on Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/incorporate-wordpress-with-interspire-shopping-cart/' rel='bookmark' title='Incorporate WordPress with Interspire Shopping Cart'>Incorporate WordPress with Interspire Shopping Cart</a></li>
<li><a href='http://www.seodenver.com/interspire-shopping-cart-brands-dropdown/' rel='bookmark' title='Interspire Shopping Cart &#8212; Add a Brands Drop-Down Menu'>Interspire Shopping Cart &#8212; Add a Brands Drop-Down Menu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.seodenver.com/interspire-recover-password/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Object Caching 0/0 objects using disk: basic

Served from: www.seodenver.com @ 2012-02-11 12:09:56 -->
