Hello there
In my shop, I would like to offer the customers, that they can pickup the merchandise in our store. In this case, the payment method would be "Cash Payment" for example.
Now, it tried to configure this in the Shop's Administrator Backend, but I come not to a end that makes me happy.
First of all, I configured a manual shipping method, that is called "Pickup". I only defined a "Zone" (Switzerland). Here is the first question: I have to define a zone that the choice shows up during checkout: I mean... I don't care if someone from Timbuktu would come to pickup some stuff in my store. But this is not really imported.
Then I moved to the payment methods and here I was unable to find a payment method like "cash payment". So this is not that good since, when the customer chooses "Pickup" as delivery method, he must choose as payment method (in my case) "Bank transfer, Credit card or cash on delivery".
The first idea was to configure for each payment method the shipping methods except the "Pickup". This won't work because, then Hika Shop say me "Please configure your payment methods. No payment methods found".
The second idea was to abuse the "cash on delivery" method: I thought pickup is some form of cash on delivery, but the point is: If a customer really wants a cash on delivery (by out Post) it would cost something and in the pickup-case, there are naturally no costs.
The next idea was to define an own payment method that is in fact a copy of the "bank transfer payment plugin". Paying cash shall work this way: You select "pay cash" as payment method and in the end, there shall be an information with e.g. where our store is located to pickup the stuff, the opening times, or maybe the currencies, that are accepted for cash payment, and so on... So to speak "some information" like when using "bank transfer" that displays the account information at the end. I know what you want to say: What is if a customer select the Shipping Method "Cash on delivery" and select as Payment method "cash payment". It's a case that is ugly but if a customer would do so (and I hope there are not a lot of such customers) I would simply call them back to clarify the situation.
But back to the payment plugin I wanted to create: I copied the "plg_hikashoppayment_banktransfer" in the directory "administrator\components\com_hikashop\extensions", named it "plg_hikashoppayment_cashpayment", renamed all the files in it, also in the files I renamed most of things (please see the attached rar file). So far so good.
But then I found out (by searching the word "banktransfer" in the hika-files) that there is an "update.php" under "administrator\components\com_hikashop\helpers" and another directory that contains some "banktransfer.php"-Stuff called "plugins\hikashoppayment\banktransfer". There stuff I haven't changed, since without a technical documentation I think I hard to get somewhere.
Now I kindly would like to ask: Is there any way to solve my problem of "pickup an pay cash"?
Thanks for reading my "problem" and help me out! I really appreciate it!
Best regards, Mike