an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Product Customization on Checkout?
Last Post 1/21/2011 3:44:42 PM By lukezy. 20 replies.
Page 1 of 2 (21 posts) << First < Prev 1 2 Next > Last >> 
3/6/2009 10:55:01 AM
jlbreazeale@intfiling.com
Posts: 3
Joined: 11/10/2008
Product Customization on Checkout?
Hi is there a way to gather info from the customer upon checkout for product customization? We are selling custom printed items and need a way to collect the text to be printed and preferably the font also. There will be custom along the lines of order total must be >= $xx.xx. So that is why I am looking at collecting this info at checkout.
 
Thanks
3/6/2009 11:28:21 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Product Customization on Checkout?
Yes, you can create an attribute called "Customization" and make the attribute display type as "User Input". And then you will associate the attribute to the products that your customers can add customization text to. Before adding the product to the shopping cart your customers can put any text to "Customization" attribute. Another way is to have a generic text input box for the entire order.
DotShoppingCart Staff
2/2/2010 2:01:10 PM
akgibbs
Posts: 15
Joined: 8/13/2009
Re: Product Customization on Checkout?
Is this only available in the commercial license?
When I go to add a new attributes I only have DropDownList or RadioButtonList as Display Control Type and Single Selection List?
Thanks
-Amy
 
2/2/2010 2:14:11 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Product Customization on Checkout?
yes, it's a feature in DotShoppingCart Suite.
DotShoppingCart Staff
1/19/2011 10:02:20 AM
RMI-Jon
Posts: 24
Joined: 3/4/2009
Location:Ohio
Re: Product Customization on Checkout?
I was looking into this, but I don't see "User Input" as an option. If I try to add a text box attribute I have to put something in the attribute value on my product to make it appear, but when the product gets added to the cart it shows up as:
 
Attribute : <my value>
Attribute: <customer entered value>
 
Side note, I also tried to use the Integer and Decimal attributes, but it errors out.
1/19/2011 10:59:34 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Product Customization on Checkout?
Yes, "User Input" was changed to "Text" with the choice of different display controls e.g. TextBox, Email, Multi-line TextBox etc.
 
Yes, try to use "&nbsp" in the attribute value which will render as empty space. It looks like displaying the duplicate attribute name once product gets added. I am investigating this.
 
Yes, Integer and Decimal are not implemented yet. We will get this fixed in the next version.
DotShoppingCart Staff
1/19/2011 11:10:34 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Product Customization on Checkout?
Here is the fix to remove the duplicate attribute name.
 
Remove lines 65 to 68 in Web\Store\AttributeSelection.ascx.cs. Let me know how it goes.
 
                        if (!string.IsNullOrEmpty(((TextBox)c).Text)) {
                            ProductAttributeValue value = attrib.GetAvailableValues(showOutofStock)[0];
                            valueids.Add(value.ProductAttributeValueId);
                        }
DotShoppingCart Staff
1/19/2011 11:26:28 AM
RMI-Jon
Posts: 24
Joined: 3/4/2009
Location:Ohio
Re: Product Customization on Checkout?
That worked great.
 
Is there a fix to make the field display as a single line text box?
 
The final goal of this project is to allow the customer to enter their own price for the item - Can one of these attributes be linked to the item price? The donation feature works ok, except it's a little clunky to collect all the info we need and also some of our customer like to submit multiple payments at the same time which would mean they'd have to submit completely separate orders.
1/19/2011 11:51:39 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Product Customization on Checkout?
You can remove line 173.
t.TextMode = TextBoxMode.MultiLine;
DotShoppingCart Staff
1/19/2011 12:58:15 PM
RMI-Jon
Posts: 24
Joined: 3/4/2009
Location:Ohio
Re: Product Customization on Checkout?
Next issue...If you add the product to the cart once with "text 1" in the text box and then add the product again with "text 2" in the box, it shows up in the cart as one item - qty="2" - attribute="text 1". Is there a fix to make them display in the cart as two separate items?
1/19/2011 1:24:16 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Product Customization on Checkout?
Looks like a bug in the store procedure DSC_Cart_AddItem.
 
Add the line (yellow background below) to the store procedure.
 
	SELECT	@CartItemId = cartItemId 
FROM DSC_Cart_Item
WHERE cartId = @CartId
AND productId = @ProductId
AND attributeValueIds = @AttributeValueIds
AND (((customField IS NULL) AND (@customField IS NULL)) OR (customField = @customField))
DotShoppingCart Staff
Page 1 of 2 (21 posts) << First < Prev 1 2 Next > Last >>