Posting values (product quantity, userid) to the product page

Started by arnabsaha, October 08, 2014, 07:41:07 AM

Previous topic - Next topic

arnabsaha

Hello All,

I'm stuck on a particular task in my current project. What I need to do is, post values like (product quantity, userid) through a PHP module (Jumi) to a particular virtuemart product page.

Basically, I'm working on a crowdfunding type of project. Where users can create events with wishlists of products from the website itself. And when someone contributes to their event/project, the contributor simply types in the amount they wish to contribute and submit. Which will take them to virtuemart product page where user actually buy points via virtuemart (Alpha user points)

The event page: http://giftwise.in.cp-in-1.webhostbox.net/GiftingPortal/index.php/en/search-wishlists/1-my-birthday

And the virtuemart product page: http://giftwise.in.cp-in-1.webhostbox.net/GiftingPortal/index.php/en/contribute-to-wishlists/gift-option-1-detail

I need to pass quantity value from the event page to the product page which should auto-populate the quantity to what was passed.

Also, userid of the event creator, as once the purchase is made, that amount is points which is delivered to the buyer's/contributors account by the Alpha user points plugin. Need to also write a plugin/script to transfer the points to the event creator's account after successful purchase.

My environment:
Joomla 3.3.1
Virtuemart 2.99
Alpha User Points 1.9.8
Crowdfunding http://extensions.joomla.org/extensions/e-commerce/donations/23876
and few other plugins

Any assistance is much appreciated.

Thanks,
Arnab


Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

arnabsaha

Thanks! I'm able to pass the value and GET. But, to prefill the quantity in the checkout would need to write a customplugin correct?
Do you have reference to any tutorial for virtuemart plugins?