pre order

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
6 years 7 months ago #291080

Hi,

Yes, that's a new plugin that Obsidev released just a few weeks ago.
It is indeed made to handle pre orders, like you need. So with it, you don't need any customization or custom field.
Note however that the migration will require some mass actions if you have a lot of products and don't want to edit each product manually since it won't use the custom field you had.

The following user(s) said Thank You: flexsus

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

  • Posts: 136
  • Thank you received: 7
6 years 7 months ago #291231

Hi Nicolas

That's just GREAT!
I will order right away.

I only had a test product, so don't think it will be a problem.

Regards,
Henrik


.ninja { color: black; visibility: hidden; }
In case of fire:
1. git commit
2. git push
3. exit building

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

  • Posts: 136
  • Thank you received: 7
6 years 7 months ago #291276

Hi Nicolas

I have installed and trying to set it up.

What's PREORDER_RESET_VALUE in back-end, besides missing language string?



If I understand it correct, in back-end you set "Quantity" to '0' and "Pre order stock" to '20'. This will make the product a pre order product not currently available but 20 products can be pre ordered. Correct?

In my front-end on Vendors product edit, the '20' pre order from back-end becomes '20' "Quantity". I don't understand that? How can a Vendor control, if it is 20 in stock or 20 for pre order (products soon to become in stock)?

I might have totally misunderstood this, but what I would have expected was "Quantity" to be what's IN STOCK. and then an other field for setting PRE ORDER, e.g the Vendor know that 100 new products is coming in soon to be in stock, so customers can order these '100' already now.

Regards,
Henrik


.ninja { color: black; visibility: hidden; }
In case of fire:
1. git commit
2. git push
3. exit building
Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 7 months ago #291277

Hello,

The "pre order" stock is a value of product that your customer can buy.
That checkbox is only display when the quantity is 0 and you already have sold some items ; in your case, you sold them all.
So if you want to re-fill some pre-order stock, you can check the box and it will reset the value in the database.

While you see "quantity" and "pre-order" in the interface, the value in the database is the sum of these two ; so if the value in the DB is less than the "pre-order" is means that your stock is empty and you already sold some items in "pre-order" mode.

Please note that you can also enter some product quantity to fill your "real" stock and it would also reset the pre-order value.

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: 136
  • Thank you received: 7
6 years 7 months ago #291309

Hi,

Hmmm..
I'm not sure I understand or maybe it's because it do not solve my request for a pre-order plugin and that's the reason I can't get my head around it.

Let me try to explain it in an other way, in my case.
In front-end a vendor would like to add a new product. He currently don't not have any items of this product in stock, so he set quantity to 0. But he know he has just ordered 100 items of this product from China, so he will have them in stock soon. How can he add these 100 as not in stock but ready for pre order if he would like to get orders of this product right away?
In front-end you only have Quantity and if he adds 100 to this, they just become normal in stock items.

An other example:
A Vendor has 100 very small ducks. He know they will be fat enough and ready for slaughter in 14 weeks and would like to take pre orders on this right now. Again, if he adds 100 to Quantity the customer will not get noticed that this is a pre order item, but think these ducks is ready for pickup right now and will be delivered next day.

How do Vendor in front-end set that this value of product items is pre order and not stock?

Regards,
Henrik


.ninja { color: black; visibility: hidden; }
In case of fire:
1. git commit
2. git push
3. exit building

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 7 months ago #291312

Hello,

The "pre order" plugin is not integrated with HikaMarket vendor interface.
It is something we have in the TODO list for the plugin but not in a short delay. We first need to get enough feedback on the main behavior before starting to work on other improvements and features.

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: 136
  • Thank you received: 7
6 years 7 months ago #291333

Hi Jerome

OK. I gave you feedback :-)
I will try and see if I can build on the plugin and maybe extend it and then share. I my case it need some extra features.
I think I will turn back to some of the earlier code we talked about.

Thank you so fare.

Regards,
Henrik


.ninja { color: black; visibility: hidden; }
In case of fire:
1. git commit
2. git push
3. exit building

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 7 months ago #291334

Hello,

In the plugin main file you will find in some trigger the check for the admin.

if(!$app->isAdmin())
   return;
Afterwards, there is the need to add the new "ACL" in HikaMarket and the checks could be a bit tricky because the user need to have access to "quantity" if he want to have access to "pre-order".
And you will need to add the trigger "onHikaMarketBeforeDisplayView" for the override of the internal data before the display.

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.

Time to create page: 0.066 seconds
Powered by Kunena Forum