By saturation - Wed 6 Apr 2011
|
Does anyone have any suggestions on how to redirect a user to another custom asp page after they have clicked "Add to Cart" on a product's version?
|
By Paul - Thu 7 Apr 2011
|
I think this might be tricky in 1.2 unless you can hook up some javascript to the buttons. It is complicated by the fact that there are multiple 'add to basket' buttons because there are different types of products - single version, multiple version, multiple version dropdown display, options, etc.
In v1.3 which is due out shortly, there will be full source code, with only the core underlying kartris framework in a DLL. So you'd have full access to the code-behind of pages and usercontrols to make this mod.
It should be release in the next few days, in fact if you PM me I can send you a pre-release link.
|
By saturation - Thu 7 Apr 2011
|
I tried building a mock link like this, but doesn't seem to add the product version:
<a href="void(0)" onclick="document.aspnetForm.submit();ShowAddToBasketPopup(2000);window.open('http://www.yahoo.com');" name="ctl00$cntMain$UC_ProductView$UC_ProductVersions$rptRows$ctl01$UC_AddToBasketQty2$btnAdd" id="ctl00_cntMain_UC_ProductView_UC_ProductVersions_rptRows_ctl01_UC_AddToBasketQty2_btnAdd" target="_blank">Open this up!!!!</a>
Ideas? I feel like I'm close.
|