Shipping Price per Product

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

-- HikaShop version -- : 3.6.3
-- HikaMarket version -- : 1.7.0
-- Joomla version -- : 3.6.0

Hi,

When a Vendor clicks Price per Product = YES on the front end for the shipping, and then clicks apply or save, it just keeps reverting it back to NO.

I need to select YES in the backend for it to accept it (which is not what we want). Once enabled it works and a vendor can add shipping prices on the products in the frontend. If the vendor opens the shipping from the front end again it will revert back to Price per Product = NO.

I can't find what I have set wrong. Any ideas?

Thx, Darrell

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 #246057

Hi,

Please download HikaMarket 1.7.1 from the "my subscription" page ; it contains latest 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: 112
  • Thank you received: 1
8 years 4 months ago #246091

Hi,

I have installed 1.7.1 and this issue is still there.

A vendor cannot enable Price per Product from the front-end. It keep reverting to No.

Any ideas?

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 #246096

Hi,

I am sorry but I am not able to reproduce your issue in my local website or in the demo website.
I just created a test shipping method in the demo website and I can activate (or deactivate) the "price per product" without any issue.
Do you have some view override for the HikaMarket views ?

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 #246108

You need to have more than one shipping method and use a vendor in the front end.

1. Set Price per Product to YES
2. Press SAVE
3. Open the shipping method again. Back to NO.

I have not changed the view.

Thx, Darrell

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

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

When you press SAVE does it LOAD the record again? Is there code defaulting it back to no? Are there conditions where it cannot be yes? Permissions? Defaults?

Where is the code for this? Perhaps I can spot something in the logic that will help me solve it.

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

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

Hi,

Once again ; the problem cannot be reproduce in the demo website.
You can test it yourself using the "demo" account (which is a vendor and not the main vendor).
demo.hikashop.com/index.php/en/hikamarke...plugin_type-shipping

In Joomla :
The button "apply" perform a "save" and re-display the element.
The button "save" perform a "save" and redirect to the listing.

The "plugin" controller is the element which handle the input and will call the class to perform the storage in the database.
In HikaMarket, the shipping and the payment structure is different than the rest because it uses an array for the definition of the fields. So a part of the code will be in the plugin class while the data definition will be in the shipping class.

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.

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