Ecommerce Transmissions

Aspdotnetstorefront - using an image for "Add to Cart"

Ash Sayani - Wednesday, February 10, 2010
Add/modify the following style in your skin stylesheet:

.AddToCartButton
{
display:block;
background-image: url(image/add_to_cart.gif);
font-size: 0px;
width:122px;
height:26px;
color:red;
border:0px;
margin-top:5px;
padding-top:5px;
}

Also remember to either add 'text-index: -5000px;display: block' in your style or set the string resource for that button to ' '

Aspdotnetstorefront, Out of Stock Items and Google

Ash Sayani - Friday, January 29, 2010
I won't go into how to configure your Aspdotnetstorefront website to handle when items are out of stock, you can refer to the manual for that:  http://manual.aspdotnetstorefront.com/p-417-inventory-control.aspx.

What the manual doesn't tell you is that if someone finds that product page link on Google and clicks through and you have your store set to not show products that are out of stock, they come to an empty page.  This is especially bad if you've paid for that click!

What you should do is add a few lines of code to the product page xml display package that renders a page that has a user friendly message and displays the related products assigned to that product or featured store products.

Code:
<xsl:template match="/">
    <xsl:comment>Copyright 1995-2009 AspDotNetStorefront.com</xsl:comment>
    <xsl:choose>
        <xsl:when test="count(root/Products/Product) &gt; 1">
            <xsl:for-each select="/root/Products/Product[position()=1]">
                <xsl:call-template name="MultiVariant"/>
            </xsl:for-each>
        </xsl:when>
      <xsl:when test="count(root/Products/Product) = 0">
        <!-- call a custom xmlpackage -->
      </xsl:when>
        <xsl:otherwise>
            <xsl:apply-templates select="/root/Products/Product" />
        </xsl:otherwise>
    </xsl:choose>
</xsl:template>

Welcome to our new site

Ash Sayani - Wednesday, January 13, 2010
We've gone through several redesigns over the last few months, of which we've published 2.  We've finally settled on this one due to several factors:

  1. Less graphically intensive so quicker page loads.
  2. A clean simple color scheme to draw attention to our call to action button ("contact us")
  3. We like it!

We also had too much trouble importing our blog postings over from our old platform, so have decided to scrap them.  Whatever content on those postings that are still relevant to today's internet marketing and ecommerce world, we will re-publish.

Welcome back.