Print Page | Close Window

Single product not added to cart

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=5917
Printed Date: 27-September-2024 at 11:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Single product not added to cart
Posted By: doughold
Subject: Single product not added to cart
Date Posted: 04-August-2014 at 12:43pm
When I try to add a single product to my shopping cart it does not get added. Anyone have any idea how I can go about troubleshooting this? Is this a common problem with PC that I can easily rectify? Or is it something that I'll need to put code in to debug? I am new to PC and we did not build this site so please bear with me. 

Thanks!



Replies:
Posted By: Greg Dinger
Date Posted: 04-August-2014 at 1:50pm
if your site is not configured to redirect from http://domain.com" rel="nofollow - http://domain.com to http://www.domain.com" rel="nofollow - http://www.domain.com then you could have a problem.  Please provide a URL to your store.

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: doughold
Date Posted: 04-August-2014 at 2:08pm
http://radioboss.com/product.php?productid=16432&cat=249&page=1

That is the product in question. I don't believe a redirect is enabled since it doesn't go to www. automatically. 


Posted By: Greg Dinger
Date Posted: 04-August-2014 at 2:13pm

The link you sent is for a PHP cart and not ProductCart.

here is a web.config file that will resolve the redirect issue:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="CanonicalHostNameRule1">
                    <match url="(.*)" />
                    <conditions>
                        <add input="{HTTP_HOST}" pattern="^www\.domain\.com$" negate="true" />
                    </conditions>
                    <action type="Redirect" url=" http://www.domain.com/%7bR:1" rel="nofollow - http://www.domain.com/{R:1 }" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>




-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net