Multi location doesnt work

  • Posts: 11
  • Thank you received: 0
11 years 9 months ago #88337

Hey everyone,

i have a one problem with multiselect of location. If can I select more location for payment plugin (or other plugins), it doesnt work. Only last selected option.

Can you help me? Thanks a lot.

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

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

Hi,

You can only select one zone for payment plugins.
If you need to select several of them, please create a payment zone with all the zones you want for that payment plugin as sub zones of your payment zone via the menu System>Zones and add that payment zone as zone of your payment plugin.

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

  • Posts: 11
  • Thank you received: 0
11 years 9 months ago #88466

nicolas wrote: Hi,

You can only select one zone for payment plugins.
If you need to select several of them, please create a payment zone with all the zones you want for that payment plugin as sub zones of your payment zone via the menu System>Zones and add that payment zone as zone of your payment plugin.


Hey, thanks, it is not my problem.
My mistake, but I need 2 price zones. For 2 different countries with different shiping.

How can I do this?
Thanks a lot.

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 9 months ago #88628

Hi,

You can create a new payment zone and include your different countries.
You can create several payment zones but you can just set one zone per payment configuration.
If you want two zones for one configuration, you have to create a new zone which would contains all elements of both.

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: 11
  • Thank you received: 0
11 years 9 months ago #88638

Thanks Jerome, but I dont understand exactly.

Yet I am learning with hikashop but this makes me a problem.
I need to sell in two states. State 1 and State 2 .. other currencies. Here's the rub. The customer registration grasses Country 1 and it shows him such payment is paypal. But the same payment I can not offer to the customer of the State 2 because I can not assign another location in the payment plugin.
If you know, what's the solution can help me? What can I create? Please, step by step if possible.
Thank you

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

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

Hi,

If you need PayPal for two different countries with different prices, I think that you have to duplicate the paypal plugin.
In "plugin/hikashoppayment/" copy/past the paypal plugin, change the name in the xml and php files, and configure it for the another country.

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

  • Posts: 11
  • Thank you received: 0
11 years 9 months ago #88714

Xavier wrote: Hi,

If you need PayPal for two different countries with different prices, I think that you have to duplicate the paypal plugin.
In "plugin/hikashoppayment/" copy/past the paypal plugin, change the name in the xml and php files, and configure it for the another country.


Hi thanks. "change the name in the xml and php files", only names? No code?

EDIT: Ok. I had to edit names for files, and in XML file renamed names of PHP files. And this...."<filename plugin="paypal_2">paypal_2.php</filename>". Now I have a new plugin. But I had to such created installation package.

Thank you

Last edit: 11 years 9 months ago by aqui.

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

  • Posts: 11
  • Thank you received: 0
11 years 9 months ago #88717

EDIT 2: These adjustments do not work.
Fatal error: Call to a member function display() on a non-object in /mnt/web-data1/ippk_cz/public_html/vlkovsoft/plugins/hikashoppayment/paypal_euro/paypal_euro_configuration.php on line 37

Is bad...what now?

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

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

No that's a bit more complex than that as the files need to be edited in order to change some values in there too.

I've done it for you. Here it is:

Attachments:
The following user(s) said Thank You: aqui

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

  • Posts: 11
  • Thank you received: 0
11 years 9 months ago #88862

To Nicolas: Nice thank you, I try it.

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

Time to create page: 0.087 seconds
Powered by Kunena Forum