Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: Optional Product

  1. #1
    DotNetDevelopments is offline Senior Member
    Join Date
    Jul 2008
    Location
    Harlow / Essex / UK
    Posts
    619

    Question Optional Product

    We have a product at the moment on the site to which you can buy the plug as well. However many people buy the product and then phone up complaining there is no plug.

    We have on the product page in very large letters that it does not come with a plug, however some people still miss this.

    Can we have the plug added to the basket when they order the product however if they want they can delete the plug from the basket.

    Can this be done?
    =====
    Version (Code/DB): AspDotNetStorefront MSx 9.1.0.1/9.1.0.0
    Execution Mode: 64 Bit
    Dot Net Developments - E-commerce By Experience

  2. #2
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    You could set up the plugs as a related product or upsell product. It's not going to be automatically added to the cart, but it'll be harder for the customer to miss.

    The only built-in way to automatically add the plugs would be to make it a required product of the main item, and if you do that customers can't remove it as long as the main item is in the cart.

    The way you're after could be done with a little customization. You could either set up a DB trigger to add such and such an item to the cart whenever a new row is created in the ShoppingCart table that contains X, or even use the AddToCart Event Handler to do just about the same thing.