Store pickup

  • Posts: 104
  • Thank you received: 0
11 years 5 months ago #102447

I want to create a payment method called Store pickup.

To do this I decided to use check payment method. I changed some lines and now it works like I want but if I go to my orders in my account I see the payment method "check".

Where I should change this? I tried to do it in the language file without result.

If it is possible I want to include a print icon at the end of the checkout (when you receive the confirmation) that allows the user to print de order. I have a print button during the checkout in cart step but it prints only the cart.

I do not have php knowledge so maybe this is too difficult to me but, It is possible to allow users to print their orders via my account menu?

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #102493

You probably have to edit the plugin (via FTP) in order to rename some parts from "check" to "pickup".

The print icon is in the account menu > orders.

Please Log in or Create an account to join the conversation.

  • Posts: 104
  • Thank you received: 0
11 years 5 months ago #102504

If I rename some parts of the check payment plugin when I will update hikashop wil I lose it?

Sorry but I can't find the print icon in "my account> orders" menu. Users can print invoices when the order status is confirmed.

What I want is to allow users to print their orders when the status is created.

Last edit: 11 years 5 months ago by dyvymtvar.

Please Log in or Create an account to join the conversation.

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
11 years 5 months ago #102544

You need to rename the check plugin itself as well. So since it will be another payment plugin, you won't loose the changes when you update HikaShop.

If you want users to print their invoice when the order is created you can do the reverse operation explained here:
www.hikashop.com/en/forum/4-how-to/51669...dq-orders.html#66642

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 1
11 years 5 months ago #103070

You probably have to edit the plugin (via FTP) in order to rename some parts from "check" to "pickup".




Hello can you give me a hint about this. Which parts are absolutely necesary to rename.

And how to change the plugin name?

Thanks a lot!

Please Log in or Create an account to join the conversation.

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
11 years 5 months ago #103089

There are several place, it's not simple.

Next version of HikaShop will allow you to duplicate payment plugins without touching the code so you might want to wait if you're not a developer.

In the mean time, we actually duplicated the banktransfer plugin here:
www.hikashop.com/en/forum/5-support-en-f...sonnalise.html#94553
So simply compare the banktransfer and the banktransfer2 files and you will see what needs to be changed where in the check plugin.

The following user(s) said Thank You: ax

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 1
11 years 5 months ago #103200

Hello,

Now im using banktransfer2 like a plugin, i modified banktransfer2_end.php, to change the text it displays.

But it isnt working, it still load the banktransfer_end.php message.

Maybe there is something else to be modified in another file, that loads the banktransfer2_end.php?

thanks

Please Log in or Create an account to join the conversation.

  • Posts: 104
  • Thank you received: 0
11 years 5 months ago #103206

When will be ready the next version?

Please Log in or Create an account to join the conversation.

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
11 years 5 months ago #103216

The text can be changed with a translation override, no need to edit the file:
www.hikashop.com/en/download/languages.html#modify

The next version will be ready in June.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 1
11 years 5 months ago #103223

Actually banktransfer2 should not display any text.

this is banktransfer_end2.php

<span class="hikashop_banktransfer_end_message" id="hikashop_banktransfer_end_message">
<?php echo JText::_('ORDER_IS_COMPLETE').'<br/>'.
JText::sprintf('PLEASE_TRANSFERT_MONEY',$amount).'<br/>'.
$information.'<br/>'.
JText::sprintf('INCLUDE_ORDER_NUMBER_TO_TRANSFER',$order_number).'<br/>'.
JText::_('THANK_YOU_FOR_PURCHASE');?>
</span>

i tried this:

<span class="hikashop_banktransfer_end_message" id="hikashop_banktransfer_end_message">
<?php echo JText::_('ORDER_IS_COMPLETE').'<br/>'.
JText::_('THANK_YOU_FOR_PURCHASE');?>
</span>



but it still loads all like the first one.

if i modified the language it will afect both plugins.?

Please Log in or Create an account to join the conversation.

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
11 years 5 months ago #103229

Then you're probably not editing the correct banktransfer_end2.php

Where is it located ?

And yes, it will change it for both.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 1
11 years 5 months ago #103233

/opt/lampp/htdocs/plugins/hikashoppayment/banktransfer2

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 1
11 years 5 months ago #103234

in control panel, plugins, when i enter hikashop bank transfer payment plugin, and hikashop bank transfer 2 payment plugin,

both have the same name Bank transfer, maybe this is the problem.?

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 1
11 years 5 months ago #103250

I unistall both & reinstall and are working.

The following user(s) said Thank You: Jerome

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 1
11 years 5 months ago #104199

Hello,

when i tried to add a zone restriction in,

Hikashop Bank Transfer Payment Plugin or Hikashop Bank 2 Transfer Payment Plugin

then it stop showing in the select form.

First it shows Transferencia bancaria111, then nothing.

In the credit card plugin it shows without a problem.

Where can be te problem? thanks


Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26146
  • Thank you received: 4026
  • MODERATOR
11 years 5 months ago #104218

Hi,

I am sorry but I don't understand your message.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 1
11 years 5 months ago #104240

when i add a zone restriction in,

Hikashop Bank Transfer Payment Plugin named Transferencia bancaria111,

something weird happens,

it stop showing in the orders(compras) page. in the picture i ve send, the number 1.

Bank transfers payment plugin can t manage Zones restrictions?

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #104309

Hi,

This all the payment methods manage the zone restrictions, can you give us a screenshot of your bank transfer method configuration ?

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 1
11 years 5 months ago #104348

it happens the same width the HikaShop check payment plugin

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
11 years 5 months ago #104373

Then it probably means that you user address is not in Spain.

Please Log in or Create an account to join the conversation.

Time to create page: 0.115 seconds
Powered by Kunena Forum