Author Topic: Allowing users to test products before Actual buy  (Read 318 times)

noOob

  • Beginner
  • *
  • Posts: 6
  • A beginner
Allowing users to test products before Actual buy
« on: August 07, 2018, 13:22:37 pm »
Hi all,
I need a custom feature to have alongside VM. What i need is to have a "Request for Test" feature that client could send to our experts so that they could come and test our tools before renting them. Currently im using VM on a website that rents Lab tools like `microscope` for a period of time or instances.

I know PHP and i know MVC i tried to implement a completely different thing inside the VM. but i found out that what im doing is inventing the wheel and doing things that already done by VM. I realized that i just need an Order exactly like the current one but with other submission flow. like there is no payment, there is no shipment, and no coupon just Status and if it could make sense re create user cart after the Status become for example 'Test done'.

i don't know the flow of a regular order, i could change things inside the VM if i knew this.

What is the best way to achieve this need?

I'm using VirtueMart 3.2.4

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2802
  • VirtueMart Version: 3.4
Re: Allowing users to test products before Actual buy
« Reply #1 on: August 07, 2018, 16:39:53 pm »
Try creating a payment standard payment method

Call it "test request"

And set a status of the order in that payment method to "Test product request"

The "payment" would then setup the correct status and allow you to manage the workflow

In addition setup a Shipping method of "Collect from"  or something like that - to handle the shipping question in the checkout
regards
A

Joomla 3.8.13
php 7.1

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8221
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Allowing users to test products before Actual buy
« Reply #2 on: August 07, 2018, 17:35:49 pm »
agree with AH -- it is in the end just labelling and allowing peeps to chk out without paying
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3402
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Allowing users to test products before Actual buy
« Reply #3 on: August 07, 2018, 18:39:36 pm »
... and you can use a categorie to filter the products that can be rent(or not) in the shipments(most of shipment support to filter categories).

noOob

  • Beginner
  • *
  • Posts: 6
  • A beginner
Re: Allowing users to test products before Actual buy
« Reply #4 on: August 08, 2018, 10:27:55 am »
Try creating a payment standard payment method

Call it "test request"

And set a status of the order in that payment method to "Test product request"

The "payment" would then setup the correct status and allow you to manage the workflow

In addition setup a Shipping method of "Collect from"  or something like that - to handle the shipping question in the checkout

Thanks is there any document for what is needed to write a correct payment method for VirtueMart? I searched google but i just found buncha management things about plugins. Like what triggers should be handled or etc! Also appreciate any good "intro to joomla plugins tutorials" :) and is it just have to be a plugin or a whole component is needed for a payment?

EDIT: do you mean just create a payment method like in administrator panel? or write one from scratch?! IDK lot about management but i would try that.
Done with that



EDIT 2: For the restoring Cart part, i want to write a plugin and handle the triggers of Status changed and became for example "Test successful" and for creating backup from cart i need to find trigger for a Test request submitted!

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8221
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Allowing users to test products before Actual buy
« Reply #5 on: August 08, 2018, 10:58:10 am »
no -- just use the bundled payment plugin  - VM Standard

for building a plugin just copy one that's there and work from there

GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

noOob

  • Beginner
  • *
  • Posts: 6
  • A beginner
Re: Allowing users to test products before Actual buy
« Reply #6 on: August 08, 2018, 11:03:34 am »
no -- just use the bundled payment plugin  - VM Standard

for building a plugin just copy one that's there and work from there

Thanks, Is there any document for all of the triggers going on in  virtuemart? and the that they fired or inputs etc...

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8221
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

noOob

  • Beginner
  • *
  • Posts: 6
  • A beginner
Re: Allowing users to test products before Actual buy
« Reply #8 on: August 08, 2018, 11:11:57 am »
Great thank you a lot sir