How to hide out of stock products and its categories in Volusion - api

I have Volusion store I want to do the following, If it is possible??
If Qty = 0 (out of stock) do not display the product as well as it category.
When Qty changes display. (this will eliminate clutter)
If Product in Category = 0. Do not display the category
For example Home > New > Digital Signage has 0 products,
Then do not display the category - Until there are product in the category.

From Volusion's support article.
https://support.volusion.com/hc/en-us/articles/209957467-How-to-Use-the-Hide-When-Out-of-Stock-Option
How to Use the Hide When Out of Stock Option
When an order placed in your store causes the stock status of a product to drop to zero or below, your store will hide the product, provided the Hide When Out Of Stock setting (on the product's Advanced Info > Product Display tab) is set.
This will prevent the product from being viewed by customers on your store front until the product's stock value is incremented (either manually or through processing an RMA or purchase order). You can learn more about using the hide function by reviewing the Marking a Product as Hidden article.
Note that if any of your products have options for your customers to select from, you may wish to hide certain options when the associated product variant is out of stock, while leaving other options visible. The best way to automatically hide out-of-stock product options is by using Smart Match and the Inventory Control Grid.
Automatically Hiding When Out of Stock
Note that the Hide When Out Of Stock function only activates if the stock status of a product drops to zero or below due to a purchase. If you explicitly set the stock status to zero within a product's settings, it will not automatically trigger this setting. To manually hide a product from view on your store front, enable the Hide Product option within the Advanced Info > Product Display tab.
Furthermore, in order for products to automatically be hidden when out of stock, products need to be configured to not allow backorders. To do this, go to Settings > Config Variables and select the Checkout Variables. Make sure the Enable Back Orders check box is not selected. This will prevent Volusion from allowing any products at a stock less than 1 from being ordered and will allow the Hide When Out Of Stock variable to engage for all products.
If you have some products that you want to do this for and some you don't, you can set Enable Back Orders at a global level as described above but select the Do Not Allow Backorders check box for specific products under the Stock tab.
Note on Stock Value Updates
Briefly mentioned above, Volusion's Hide When Out Of Stock will inversely update products: Any product using this function will be automatically unhidden when the stock status for a product is updated to a positive quantity. Product stock can be updated manually from a product's settings page or automatically through the processing of an RMA or purchase order, or even through an import to your Volusion store's products table.
Also, please note that any product with Hide When Out Of Stock and Hide Product checked with a Stock Status set to Null (blank) or a positive value will be unhidden whenever any Stock Status is imported for any product in the store.
Please keep this function in mind when using this feature to prevent products you wish to remain hidden from being made available on your store front after product stock value updates.blockquote

Related

How do I duplicate a product in Prestashop?

This is my problem:
I have a product set up in my catalogue - it does contain stock
I want to duplicate the product to use most of the data and create a
new product, so I 'duplicate' it on the 'products' page of the
catalogue
As soon as I have done this the new product (on the
products page of the catalogue) shows a red circle containing a zero
in the 'quantity' column (so the product always shows as 'put of stock)
There is nothing I can do to change this stock level - I have tried ALL of the following:
changing the product 'reference' number
adding stock in the 'Stock Management' page under the 'Stock' menu (after doing so the 'Quantity' column on the 'Stock Management' page DOES include the new stock figure, but that stock never gets added to the 'Quantity' column on the 'Products' page of the catalogue)
I'm now stuck !!
This is the detailed set-up of my shop:
I'm using Advanced Stock Management
I have a warehouse called 'Warehouse1' (already set-up)
I have a carrier called 'Carrier1' (already set-up)
I have a product called 'Product1' (already set-up)
'Product1' has been associated with 'Warehouse1' (and 'Carrier1',
though that isn't stated as being mandatory)
'Warehouse1' has been associated with 'Carrier1'
'Warehouse1' has been associated with my shop
(i.e. all 'associations' ARE done as defined here)
Any help gratefully received!
I've found the solution:
I spotted that when I'd been changing adding in stock to the (new) duplicated product I had "All shops" selected at the the top which meant it didn't work (even though I did want to apply the new stock level to ALL of my shops).
The way around it was to come down a level and select "Default group" in the top menu - that did then work. In hindsight this makes sense, as I read somewhere that the Adv Stock Management only shares across those stores inside a group, not across groups.

Is it possible to show the number of pre-orders on the product page?

My primary business is pre-orders, and this is how it works:
I list an item for sale.
My customers order the item. Their credit card is authorized but not charged.
Once a minimum number of orders are placed, the customers are charged, and the buy is live.
If, after a specified amount of time, the minimum is not reached, all orders are cancelled.
What i would like to do is this:
Specify the minimum number of orders needed for a particular item in the backend. (not 100% needed, but it would be nice).
Display the total number of pre-orders on the product page, so that my customers know how many are left before the buy is live (it would be great to show it in the following format: 23/50 Ordered).
Does anyone know if this is possible? If so, can you please explain to me what I need to do in order to make this happen?
Thanks!
P.S. - In case it doesn't show up, I'm using Bigcommerce
Store the minimum needed as a custom field & set the initial inventory to that same number. You'll also need to allow inventory to be displayed for pre-orders, though you can hide it from display if you'd like (we only want it present in the DOM).
As the products are pre-ordered, inventory will decrement. Use javascript to subtract the number left in inventory from the original number (the custom field) and display in the ProductDetails.html panel.

Edit Shopify Metafields/Product Options

I'm using Shopify to run a sort of Kickstarter campaign on a custom product, whereby if the goal is reached the item will be made. I need to update the number of the items sold during the campaign, I'm storing the number sold as either a product option or metafield however right now i'd have to update these values manually every time one is sold.
My question is whether or not I am able to edit the value of a product variant option or metafield preferably using liquid - so that on completion of the order I can update the number of sold items.

Prestashop 1.6 How to allow out of stock orders in Multistor

V1.6.0.9 Multistore, Advanced Stock Management
Hi,
I need to show the add to cart button on items even when they are out of stock so that they can still be ordered. This was fine before I changed the site to Multistore.
At the moment, when an item is out of stock there is no add to cart showing.
In the Admin -> Preferences -> Products I have the "Allow ordering of out-of-stock products" set to true for all stores and the store manly in concern.
In Admin -> Catalog -> Products I have option Available for Order set as true and the product set to available everywhere.
I thought out of stock ordering needed be be set for each product as well in Products but I can't see where. Also, this did work for these products before the site was transformed to a multistore, however, it may be the issue.
Any ideas?
Thanks
You must go to The product page (Catalog>Products)
Go to Quantities (from that specific product) and make sure that When out of stock is set to Default: Allow orders as set in the Products Preferences page.
1) Setting the default behavior;
on the Admin -> Preferences -> products [PRODUCTS STOCK] section you can set the default behavior for shops as to how to handle out of stock products:
Yes (cart will be shown for Out of stock)
No (no cart for out of stock)
2) Setting products out of stock behavior for each shop;
much easier doing on the DB table there is a table called (ps_)stock_available; where for each product in each shop the out of stock behavior can be defined on column (out_of_stock) with below values;
0 : no cart on out of stock
1 : out of stock order-able (cart will be shown)
2 : following the shop default behavior (as set in first step above)
setting to 2 might be preferred since updating shop behavior will be much easier whereas setting to 1 will require another DB update on each product in case of modifying your shops' out of stock behavior.
columns (id_shop) and (id_product) address each product in each of the shops, and column (id_product_attribute) accordingly will allow setting similar behavior on products with various models / attributes

Only show in stock products OpenERP

When I open the location structure of the warehouse and check the current inventory of a particular location, it shows me all products (even when stock is 0).
Is there a way to hide the products that are not in stock in that particular location (or remove them from being able to show in that location)?
To achieve this functionality, you have to customize addons side code of stock and product,
You have to implement funt_search method in qty_available function of product, to search product based on codition.
And in the wizard you have to pass domain, of qty_avalable > 0 at wizard,.
For refrence you can see in openerp latest trunk stock module code.
Hope this help