VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: Szarlus on January 28, 2016, 08:15:45 AM

Title: Pick-up in selected store
Post by: Szarlus on January 28, 2016, 08:15:45 AM
Hello everyone!

I hope this is the correct part of the forum for my question  :P

I am new to VirtueMart and I have a problem which I hope this community can help me with.

I want to have an option of self-pickup in checkout, and when I choose this sel-pickup option I would like a combobox to appear with names of the stores from which the shopper can choose one where he wants to get his item.

What would be the best way to achieve this?

Thank you all in advance.

I am using:
Joomla 3.4.8
VirtueMart 3.0.12
VP Merchant Framework 1.2.1
Title: Re: Pick-up in selected store
Post by: GJC Web Design on January 28, 2016, 10:11:25 AM
a VM shopper field in the cart .. a select with the stores as options?
Title: Re: Pick-up in selected store
Post by: Szarlus on January 28, 2016, 10:35:33 AM
Thank you for your reply, but could you please elaborate on this a bit more? I am not sure what you mean:(

EDIT: Well, I created new shopper field for the cart, made a list out of it, bu:
1) it shows way below the choose shipping method area,
2) I have no way of connecting it with my choice of shipping method (I wanted the list to show only if the shipping method is Self-pickup).

I created Self pickup shipping method using the default weight, zipcode VM plugin. Do you think I should create a custom shipping plugin to achieve what i wanted??
Title: Re: Pick-up in selected store
Post by: GJC Web Design on January 28, 2016, 12:35:28 PM
vm admin->configuration->Shopper fields

new

dropdown

Show in cart form

to have the value in the emails and order you must also choose Show in account maintenance

experiment
Title: Re: Pick-up in selected store
Post by: Szarlus on January 28, 2016, 12:41:12 PM
Thanks again.

I did find that option and I edited my previous post in the same time as you wrote to me. I experiment a lot for like two weeks but am a noob as I said and can't get to work it the way I need :(

Title: Re: Pick-up in selected store
Post by: GJC Web Design on January 28, 2016, 18:22:49 PM
QuoteI created Self pickup shipping method using the default weight, zipcode VM plugin. Do you think I should create a custom shipping plugin to achieve what i wanted??

that is a possibility or just tie by php or JS the display of the shopper field to the choice of shipping method
Title: Re: Pick-up in selected store
Post by: Szarlus on January 28, 2016, 21:41:56 PM
Hi again.

Could you maybe tip me which file (or group of files) should I work on to tie the display of shopper field to the shipping method? There are so many files that it makes my head spin o0

I will be grateful for any advice.
Title: Re: Pick-up in selected store
Post by: GJC Web Design on January 29, 2016, 01:29:32 AM
it can be all done in the cart default template.. but you need the skills or hire someone with them...
Title: Re: Pick-up in selected store
Post by: Szarlus on February 02, 2016, 09:09:39 AM
I'd like to thank you for your support. Thanks to your help I was able to (somehow) get the job done. It might not be in the best possible way but it works ;)
Title: Re: Pick-up in selected store
Post by: GJC Web Design on February 02, 2016, 11:07:11 AM
Excellent!  and new skills learnt..   :)
Title: Re: Pick-up in selected store
Post by: loky62 on March 15, 2016, 16:17:00 PM
Hi, I've the same problem but i've not undestand the solution. Help me please ?
Title: Re: Pick-up in selected store
Post by: andynguyen on August 28, 2018, 08:47:51 AM
I've developed a module for "buy online - pickup in store" function (aka BOPIS) as you said. I think this extension is exactly what you need.
It allows your customers to purchase online and choose the store they want to come and receive purchased products.
https://extensions.joomla.org/extension/store-pickup-for-virtuemart/ 
See a demo here (https://andyapp.net)
If you want any customization when using this extension, feel free to request.