copy a payment method

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
11 years 9 months ago #86473

Hi

I'm using the business edition.

I have different access levels for my shop as registered, bars and wholesale.
When the customer is choosing the payment method, then I would like to add a different text for each group, as the registered have to pay before shipping and the wholesale will pay the end of the month.
Is there any way I could copy the payment methods (western union & bank transfer)?
This way I could use each one with a different acces level and different text.

best regards
Raphael

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

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #86514

Hi,

Yes you can duplicate the payment methods, but don't forget to rename the name in the xml & php files of the plugin.
You can too use the "check" payment method and rename it, it's the same use case than the two other one.

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

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
11 years 9 months ago #86856

Hi Xavier

Do I copy the file with the fttp?
/plugins/hikashoppayment/banktransfer

Could you tell me what to change and where to rename it?
I don't have enough php knowledge to do it myself.

Thanks
Raphael

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

  • Posts: 82796
  • Thank you received: 13357
  • MODERATOR
11 years 9 months ago #87056

Hi,

It's not just about copying the files. You will need to edit them and change everywhere in them the name of the plugin with the new name of the plugin. Without PHP knowledge, that's not possible.

As Xavier suggested, you can use the check payment method which roughly the same are the western union/bank transfer plugin. You just have to change its name and potentially its translation keys. You can also use the collect on delivery payment method in order to achieve the same display as bank transfer ans western union plugins. That way, you have your four payment plugins, and you don't have to write any code.

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

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
11 years 9 months ago #87063

Hi Nicolas

I used 3 for normal customers and need two more for wholesale customers. This means I need one more.
What would you charge me to duplicate one of those plugin?

Best regards
Raphael

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

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #87133

Hi,

Thanks to send your request via the contact form.

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

Time to create page: 0.072 seconds
Powered by Kunena Forum