Supply management

  • Posts: 259
  • Thank you received: 10
4 years 10 months ago #318298

-- HikaShop version -- : 4.2.3

Is HikaShop capable of doing one these things when it comes to product supply management?

- Product out of stock: temporarily hide it from the front-end entirely until stock has been replenished
- or "Fade" product image and display "temporarily out of stock" message
- manage product supply for variants? If so, where. Is that under "Variants" > "specific variant" > main options?

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 10 months ago #318305

Hi,

Yes, you can use this plugin to remove the out of stock products from the frontend:
www.hikashop.com/marketplace/product/222...-product-plugin.html

What do you mean by "manage product supply for variants" ?
You mean changing the stock of each variant of a product ? You sure can do it. Under the "variants" tab of your product, you can edit each variant and you'll find there a quantity input field where you can enter the stock for that particular variant.

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

  • Posts: 259
  • Thank you received: 10
4 years 10 months ago #318356

Grabbed the plugin. will experiment with it tomorrow. Did notice something in extension manager. Looks like there's a problem with displaying the version & release date of it. But i'm a bit confused. When entering the plugin "settings" (yes i know there's nothing to configure)

This is the description, This plugin enables you to hide products which sales date is in the future or past

What do future or past sales have to do with hiding a product from view when it's temporarily not in stock?

Attachments:
Last edit: 4 years 10 months ago by Ch3vr0n.

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 10 months ago #318367

Hi,

Ah you're right.
For the stock you actually don't need anything.
You just have to turn off the "out of stock" setting of your menu item via the Joomla menu manager and the products won't appear on the listings automatically.

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

  • Posts: 259
  • Thank you received: 10
4 years 10 months ago #318421

Not working at the moment.

Menu item > product options > Not in stock > changed from "inherited" to "No". Product still displays on the category listing

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 10 months ago #318423

Hi,

Then you don't have a stock of 0 in the product, or you didn't change the menu item corresponding to the page you're looking at.

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

  • Posts: 259
  • Thank you received: 10
4 years 10 months ago #318461

Pretty sure i'm looking in the right place AND have the right setting set to "no", but maybe it has to do with the fact that they're variants (and that specific one is set to 0) but the main product info is set to "infinite"?

Made a quick image, if it's unclear. The product is "Angel Masque 200ml", your back-end access is still enabled.

Attachments:
Last edit: 4 years 10 months ago by Ch3vr0n.

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 10 months ago #318470

Hi,

As I said, the stock of the product has to be 0. If it's set to unlimited then the product will display in the listing, regardless of the stock of each variant of the product.
Note that you can configure the stock of the product as the sum of the stock of each variant. That way, when a variant is purchased, both the stock of the variant and of the product will be updated.

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

  • Posts: 259
  • Thank you received: 10
4 years 10 months ago #318509

That's just it, it isn't set to unlimited. The "unlimited" variant isn't published. So unless im missunderstanding this, a product variant that isn't published, shouldn't affect the display status of a product that is published but out of stock.

Could you point me to that specific setting? I ran a test purchase with a stock of one, the variant stock got properly set to 0 but it's still showing in the product listing. It is however showing "not in stock". The goal here is to not display the product at all if the stock is 0.

Maybe that stock of 0 + "infinite" stock of the unpublished variant is what's causing the problem here. But as said, as i see it, a product that isn't published shouldn't affect the variant that is published.

That said, i even set the supply of the unpublished variant to 0. Product still shows. So i set the main product to 0, product disappears as desired. So i then set the stock of the published variant to 20, product still invisible. So it seems like i may need to change that setting you're talking about.

I checked the settings i could find

System > main > product > "Show sold-out products" was set to YES. So changed that to No.

Set the product variant to 1 > ran a purchase test > Stock was properly deducted, and set to 0 > product on front-end shows "no stock" but is still visible to "add to wish list"

Last edit: 4 years 10 months ago by Ch3vr0n.

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 10 months ago #318514

Hi,

Maybe I wasn't clear enough, but the stock of variants is not taken into account for the display of the product on the products listing. Only the stock of the main product is taken into account.
So it doesn't matter what stock you have in the variants, or if they are published or not.

I ran a test purchase with a stock of one, the variant stock got properly set to 0 but it's still showing in the product listing.

You need to look at the stock of the main product, not the stock of the variant.

And regarding the setting

System > main > product > "Show sold-out products"

that's the setting for new products listings. You need to edit the menu item via the Joomla menu manager and under the "products options" tab, you'll find an option with the same name. And that's this setting which is important to check.

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

  • Posts: 259
  • Thank you received: 10
4 years 10 months ago #318560

The main stock is set to "infinite", i tried deleting and saving but that just seets it back to "infinite", what do i need to modify and where to have the stock values of the variants be counted as the total supply stock instead? Or is what i want to do simply not possible?

I checked that corresponding setting, Under "product data display" the setting "not in stock" is set to NO

Last edit: 4 years 10 months ago by Ch3vr0n.

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 10 months ago #318563

Hi,

You need to enter 0 instead of "infinite and save your main product.
What you want to do is possible. As I said, you need to enter the sum of all the variants stock in the main product so that it is taken into account on the products listings.

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

  • Posts: 259
  • Thank you received: 10
4 years 10 months ago #318590

That i understand, my question is however can hikashop not calculate the total stock of variants itself and update accordingly. Certain products have 8 variants, meaning i'd have to first add stock to each, then calculate the total and add that number to the main product.

With setting the global to 0 the product does indeed vanish. But still accessible if using the vertical menu module. Doubt that's a hikashop problem so i'll contact the developer of that menu module extension for that

Last edit: 4 years 10 months ago by Ch3vr0n.

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 10 months ago #318638

Hi,

There is no mechanism to calculate the stock of the product from the stock of the variants.
However, once you enter the sum of the stock of the variants in the stock of the main product, both stocks will update when purchases are made.

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

  • Posts: 259
  • Thank you received: 10
4 years 10 months ago #318652

Well that explains the behavior. Perhaps such a mechanism setting could be added in an upcoming version. I'd certainly love having it!

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 10 months ago #318663

I would say that this would be great as a plugin which would plug itself after the save of a product / variant, load all the variants of the product, sum their quantity and update the value for the main product if necessary.
So not by default in HikaShop, but a plugin we could add to the marketplace.

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

  • Posts: 259
  • Thank you received: 10
4 years 10 months ago #318682

Is this something HikaShop themselves (as in the company) could code or be willing to? I'd certainly be the first to use and offer to test it!

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 10 months ago #318684

Hi,

Yes. I've actually added it on our todo list.

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

  • Posts: 259
  • Thank you received: 10
4 years 10 months ago #318705

Excellent. Can i get notified of it's availability, whenever that is? Either way. Thanks for adding it on the todo list.

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 10 months ago #318711

Hi,

We will.

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

Time to create page: 0.088 seconds
Powered by Kunena Forum