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

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.

Related

Shopify-Limit products is setted so when clients click cart button with over quantity, they get error

I'm shopify developer.
I want to set quantity limit so that if client try to add over limit quantity and click "cart" button, they get error message.
How can I implement this?
Thanks for seeing my question.
When you render a product, you have access to its current quantity. You are free to use this value. Take the example of a widget with 3 variants, A, B and C. A has 3, B has 6, and C has 9.
When you render your input element to capture quantity, you are aware of the variant in question, and the max quantity allowed (at the time the page rendered anyway). So you are free to limit the quantity to be less than the maximum available using simple HTML controls. With Javascript you can script this kind of stuff.
In the end though, by the time the customer reaches checkout, if say they asked for 3 of B, even though at that time B had 6, so 3 was good and allowed, at checkout, Shopify may reject their order as B may only have 2 at that time. Meaning they waited too long to purchase.
If Shopify did not work this way, people would hold inventory hostage while not buying. So in effect, even if you limit quantities, your customers may still be unable to purchase all they want.
Long story short, you can add quantity limits to the HTML element used to change the quantity going into the cart. Use the variant's current quantity from Shopify as the high limit.

Shopify API get Total Returns/Refunds

I am trying to get the Net Sales of orders of our Shopify store on daily basis. I can do it with the Orders API, but there seems to be a mismatch for the refunds returned by the API and the refunds/returns that show up in the dashboard.
In fact, the API doesnt show any refunds for the orders at all but there does seem to be some amount deducted from the Total Sales of Orders which make the actual Net Sales for that particular day.
I can retrieve the orders for one day by this example URL. I iterate through all the orders and add up each Order's amount which gives an exact number of Total Sales which match up to the number in the dashboard. But this Total Sales value doesnt take into account the refunds/returns.
/admin/api/2021-07/orders.json?status=any&created_at_min=2021-08-17T00:00:00-04:00&created_at_max=2021-08-18T00:00:00-04:00&limit=250
There is a refunds in the returned json for each order as well in the above call but that is empty for all the objects.
I have explicitly tried to retrieve the refunds as well by following API call but it also returns empty for all the orders.
/admin/api/2021-07/orders/{order_id}/refunds.json
You may have a look at the Dashboard Sales image for one day. Please note in this image, I can get the exact value for Total Orders from the API but can not retrieve a single refund/return for any of the order.
Would you be having an idea what are these Refunds/Returns shown in the Dashboard? If so, is there a way how can I accurately calculate the Refunds/Returns by the API as well, so I can accurately calculate the Total Sales for one day?
You should be working with Transactions. Specifically, the refund transactions. An Order has many transactions. So given some order, you can get at the interesting transactions, and calculate your important values, like Net. I have aced this for many clients, as Shopify does not report this type of value very well. So I generate reports with Net, refunds, taxes, etc, providing much clearer guidance than the standard Shopify reports.

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

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

How do I change the purchase quantity on my bigcartel shop to be a text box

I sell fabric by the 10cm increment. How do I change the purchase quantity on my bigcartel shop to be a text box to allow customer to type in the quantity they'd like to buy (for example 1.2 metres) instead of using bigcartel's dropdown purchase quantities?
At the moment, I end up having a long list of drop down options ie. 10cm, 20cm, 30cm, 40cm, 50cm, 60cm, 70cm, 80cm, 90cm, 1m. And then I have to rely on the customer adding the quantities they want together to get the total they need (ie. 20cm and 1m to get 1.2 metres). People sometimes make a mistake with their math and order the wrong amount. I would prefer to be able to just have a text box in the purchase quantity area where my customer could simply type in "1.2" and the quantity and price would be calculated for the cart.
Is this possible on bigcartel? I know it is possible on a lot of other e-commerce sites. Any help would be greatly appreciated!
Unfortunately there's not a way to add an input box to your product or cart pages to allow for customer input like that, sorry! Your customers can only select their option from a list that you create in the admin.

Adding PDF as page to PDF

I'm working on an online bookstore. Obviously when something is bought we send out an invoice. I have a default template that is used to put all the information in (customer data) and of course the information about the bought items.
Now comes a part that might seem confusing. We are going to give discounts as well.
Example: A product is €100 and you get 10% discount. Now you pay just €90 but that missing €10 has to be paid at some point, by the one giving the discounts.
So once a month we send an additional invoice to the companies that gave discounts, with all the discounts they gave, so they know what to pay us.
On the first page of that invoice will be an overview for all orders with the total amount of discount on that order together with taxes and the order number. On the second page there will be a detailed overview of all orders.
I will show what is bought on the order so they can see where the discount came from and the prices are correct.
Now we finally get to the problem. The first page will hold (once again) all the details of the customer, in this case the company. It has the address, name, customer number, invoice number etc. The second page doesn't need this information, so I want to make a new template for that, giving me two template PDFs.
Is it possible to grab the second PDF and insert it into the PDF as a single page? This is all to be done in vb.net.