Add to Cart Manually
|
| If you just want to set up a link to add a Product to the Shopping Cart, you could do it in the following way: |
|
So, say for example you have set up, using the Rich Text Editor the following table and underneath you want to add a link which add a specific product to the cart: |
 |
|
To set up that link, find the TabID of the page: 'SysDataNet Store Add To Cart', by going in Host --> SQL and type this SQL statement: |
SELECT * FROM {databaseOwner}{objectQualifier}Tabs WHERE (TabName = 'SysDataNet Store: Add To Cart') AND (PortalID = @PortalID) |
|
where you need to replace the {databaseOwner} and {objectQualifier} with the values you've set up in your web.config file. Normally 'dbo.' and blank. Also, replace @PortalID with your actual PortalID, normally is equal to zero.
|
|
Then set up the the link equal to: |
Default.aspx?TabID=TabID_AddToCart&ProductID=ProductID_Service |
|
where the TabID_AddToCart is the TabID previously found and the ProductID_Service is the actual number of the ProductID you want to add to the cart. |
|
If you use PayPal Subscription and after the Product has been added to the cart you want to go directly to the Client Details Page edit the link in this way: |
Default.aspx?TabID=TabID_AddToCart&ProductID=ProductID_Service&sbsct=Y |
|
|
|
|
|
|
|