Hikamarket ACL - cannot delete shipping frontend.

  • Posts: 112
  • Thank you received: 1
8 years 4 months ago #245934

-- HikaShop version -- : 2.6.3
-- HikaMarket version -- : 1.7.0
-- Joomla version -- : 3.5.1

Hi,

I have Delete enabled in the Hikamarket ACL for shipping plugin, but a vendor does not have permission to delete when they try in the front end. A pop-up states "forbidden".

(delete for discount from the frontend works as expected, for example).

How can I set the system to allow shipping to be deleted from the front end?

Thx, Darrell

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 4 months ago #245939

Hi,

I am not able to reproduce your issue in my local website.
If you have issues with "shipping", I suppose that you should also have issues with "payment" because both are based on the same controller for the plugins.

The "Forbidden" message of the "delete button" is mostly related to the ACL and the fact that the shipping method is the property of the vendor.
If you have the "delete button" means that the ACL for the vendor are right ; so the issue should be related to the "property". But in that case you shouldn't be able to edit the shipping method (more exactly, to save it).

Can you please confirm these points ?
Would it be possible to have more details about your shipping method configuration and your HikaMarket configuration ?

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: 112
  • Thank you received: 1
8 years 4 months ago #246013

Hi,

I have attached the ACL settings for shipping.

(We don't allow our vendors to setup their own payments. We only have Paypal Adaptive payments setup, which is why it is disabled on the front end).

Shipping is set so that the vendors create their own from the front-end (using the manual shipping plugin).

Thx, Darrell

Attachments:
Last edit: 8 years 4 months ago by darrelluk.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 4 months ago #246016

Hi,

If you have the "delete button" means that the ACL for the vendor are right ; so the issue should be related to the "property". But in that case you shouldn't be able to edit the shipping method (more exactly, to save it).


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: 112
  • Thank you received: 1
8 years 4 months ago #246097

I am not sure what you mean by property. Please can you elaborate.

A vendor can edit and save their manual shipping options, just not delete them.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 4 months ago #246099

Hi,

I was able to reproduce the issue in the demo website.
I created a patch for HikaMarket 1.7.1 and I just update the packages ; you can re-download HikaMarket 1.7.1 to get the fix.

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.
The following user(s) said Thank You: darrelluk

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

  • Posts: 112
  • Thank you received: 1
8 years 4 months ago #246122

This is fixed. Thank you

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

  • Posts: 23
  • Thank you received: 0
8 years 4 months ago #246127

Hi,
Hikamarket update to 1.7.1
I have the same problem for delete payment plugin and characteristic. Payment plugin show deleted but when reload the page is actually still there. And payment plugin some fields cannot save/edit after create (test bank transfer and collect on delivery plugin).
Shipping plugin work fine now.
Thanks

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 3 months ago #246160

Hi,

I reproduced the problem with the payment and made a patch.
I am still working on the characteristics issue and when the patch will be done, I'll update the HikaMarket package (and notify you here).

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: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 3 months ago #246193

Hi,

I just update the HikaMarket packages with patches for payment and characteristic deletion.
You can re-download the package to get the fixes.

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: 23
  • Thank you received: 0
8 years 3 months ago #246261

Hi,
Thank you for the update.
Characteristic and payment plugin - deleting work now. :)
However there are some problem for the payment plugin(bank transfer, COD), after configure the plugin and published it not show on checkout. "Message
Please configure your payment methods"
And I found that some fields cannot save , like image, access level. < suspect this cause the problem, once I save the plugin at backend it work on checkout. Please check.
Thanks.

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 3 months ago #246273

Hi,

In the file "administrator/components/com_hikamarket/classes/plugin.php" you will find a function named "parseData".
In that function, you will find twice the content

	unset($d);
	break;
And you need to replace it by
	unset($d);
	$data = implode(',', $data);
	break;
It will force the data to be a string so we will be sure that the data will be stored in the database.
I'll investigate in order to understand why HikaMarket should now need to perform that serialization and I will update the HikaMarket packages as soon as possible.

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: 23
  • Thank you received: 0
8 years 3 months ago #246321

Hi,
Thanks for the update. After applied the update, payment image can save, however still the same "Message
Please configure your payment methods" no payment method on checkout.
Have to login to backend to save the plugin once then it will work (view and save only, no edit anything).
Thanks

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 3 months ago #246425

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.

Moderators: Obsidev
Time to create page: 0.092 seconds
Powered by Kunena Forum