Index | - | FAQ - Misc |
DotNetNuke is an open source ASP.NET content management system and .NET web application development framework. The DotNetNuke system does not allow you to paste HTML forms directly into their system. Because of this you must make minor edits to the shopping cart HTML before pasting the code into your DotNetNuke template. A basic cart button would look like this:
<input type="hidden" name="AddItem" value="jter|Test|4.95|1"> <input type="submit" alt="Add to cart" value="Add To Cart"> </form> Here is an edited version for DotNetNuke:
<input type="hidden" name="AddItem" value="jter|Test|4.95|1"> <input onclick="this.form.action='https://audiolot.cartmanager.net/cgi-bin/cart.cgi';this.form.submit();" type="submit" alt="Add to cart" value="Add To Cart"> </div> Summary of edits:
Note: Because of how DotNetNuke works you can only use a single add to cart form per page. You can still use multiple buttons as long as the additional buttons use a link. |