• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Integration plesk eShop with jroxJAM

D

DrazenM

Guest
Hi,

I have a big problem. I'm on Hostgator and using plesk sitebuilder for my website. I want to integrate plesk eShop with jrox JAM for affiliate selling. I don't know how!

So on jrox forums I got this answer:

"you'll have to find out if your eShop can post the sale and transaction data to a thank you page, and what page that is in."

So where I can find thank you page (last page when buying is finished) and other datas.

Please help
 
If you still don't understand - this is copy of integration instruction for jrox JAM and VirtueMart. Maybe this could show how to integrate eShop and jrox JAM



Open up the file /virtuemart/administrator/components/com_virtuemart/html/checkout.result.php.

Scroll down to the end of the file, and paste your integration code right before the ending ?> tag:

############################################
## START JAM INTEGRATION WITH VIRTUE MART ##
############################################

$jam = $db->query("SELECT * FROM #__{vm}_orders WHERE order_id='$order_id'");
$TotalAmount_pre = $db->f('order_subtotal');
$TotalAmount_dis = $db->f('coupon_discount');
$TotalAmount = ($TotalAmount_pre - $TotalAmount_dis);
$TransID = $order_id;
echo '<img border="0" src="http://www.YOURWEBSITE.com/sale.php?amount='.$TotalAmount.'&trans_id='.$TransID.'" width="1" height="1">';

#########################################
## END JAM INTEGRATION WITH VIRTUEMART ##
#########################################

?>

Go ahead and Save the File.

Open up the file /virtuemart/administrator/components/com_virtuemart/html/checkout.thankyou.php and add the same code above.

You now have JAM integrated into your Virtue Mart Shopping Cart.



This is intruction so again please help
 
Back
Top