It has it's own Add to Cart button which I would like to use to pass the order data to the Joomshopping Cart for the transaction to be completed and passed to PayPal.
In other words, I want to use the price calculator to create a custom price and product description which then ends up in the Joomshopping Cart for the order to be completed as per normal.
My idea is to pass the contents of the "ppksResultSummary" div and the "ppksResultTotal" div to the Joomshopping Cart when the "ppksAddToCartBtn" button is clicked. (It is not intended that the Joomshopping Add to Cart button be used in this instance, although I am open to suggestions)
The final segment of the price calculator html file is shown here-
<div id="ppksResultSummary">PLUS Packs</div>
<!-- Content of div above is replaced dynamically with license summary -->
<div id="ppksReview"><a href="#" onClick="PLUSPACKSCALC.reviewUsage();return false;">(review usage)</a></div>
<div id="ppksResultDescription">licensing system</div>
<!-- Content of div above is replaced dynamically with license details -->
<div id="ppksAddToCartBtn" class="menuItem click" onClick="PLUSPACKSCALC.addToCart()">Add to cart</div>
<!-- Content of div above is replaced dynamically with total price -->
<!-- END SAA PLUS PACKS CALCULATOR -->
The final segment of the pricecalc.js file is shown here-
alert("Program error: unidentified menu selection ("+_2a+")");
If anyone can point me in the right direction it would be greatly appreciated. Or would this be best passed to an experienced developer?
Thanks in advance
Joomla: Joomla 1.7