If you need support for a commercial extension, you must use the account you used to make the purchase and items must be listed on your profile. First, search the forum, make sure your issue has not been resloved yet. Post describing precisely what the issue is, mentioning the Joomla, PHP, versions and a URL to the concerned page or a descriptive screenshot.
Welcome, Guest
Username Password: Remember me
  • Page:
  • 1

TOPIC: Multiple quantity

Multiple quantity 1 year, 11 months ago #1395

  • tassaros
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
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!

Re: Multiple quantity 1 year, 11 months ago #1457

  • tassaros
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Anyone please?
  • Page:
  • 1
Time to create page: 1.26 seconds