Hi,
I bought vmvendor suite an the payment processor a few days ago.Everything works fine except one thing:
When i change the quantity of a product for example to 3 the buyer pays the whole bill but the vendor takes money for only one product.
I know that this happens because this product is made downloadable goods but is something that i want to my website.
I wondered if you could helped me.
I made some changes in ps_order.php:
After $aup_cprice = $db->f("product_price");
i added
$q1 = "SELECT product_id, product_quantity FROM #__{vm}_order_item WHERE order_id='".$db->getEscaped($d["order_id"])."'";
$db->query($q1);
$db->next_record();
$aup_productquantity = $db->f("product_quantity");
and i changed the aup_topay like this
$aup_topay = $aup_cprice * $aup_productquantity * $paypcentage / 100 / $aupoint;
but it doesn't works.
Any idea?Is what i want possible?
Thank you!