1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Integration plesk eShop with jroxJAM

Discussion in 'SiteBuilder' started by DrazenM, Nov 4, 2009.

  1. DrazenM

    DrazenM Guest

    0
     
    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
     
  2. DrazenM

    DrazenM Guest

    0
     
    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
     
Loading...