Invoice numbers scrambled in WooCommerce - woocommerce

Hi i've installed the plugin " WooCommerce Print Invoice & Delivery Note "
I have nearly 800 invoices to print, though when I'm entering 401+ invoices every invoice number gets scrambled.
Ex.
Invoice number should be 402 but is instead 5,
That increments for like 75 invoices and then starts at 1 again again.
Any suggestions on what to do?

Related

Finding Number of Customers Who Played at Least One Product Video

I am looking through the progression of pages users clicked on within one of our apps. Customers can go backwards in the process and each action has a time stamp. I want to find the percentage of customers who played a protection plan video at least once
ActivityType: page title (can visit the same page more than once)
Interested in "Products Presented" (Main protection plan page) and "Product Video Viewed"
ConsumerID: customers unique identifier
EventDateTime: Timestamp for each page visit
Is there a way to count CustomerId that played at least one video?
DistinctCustomersPlayedVideo =
CALCULATE(
DISTINCTCOUNT(ConsumerFunnelTime[ConsumerID],
COUNT(ConsumerFunnelTime[ActivityType] IN {"ProductVideoViewed"} >= 1))
)
I can then divide this by the number of distinct customers that made it to the protection page at least once
Data:
{
EventDateTime ActivityType ConsumerID ConsumerFunnel
22:48.0 Products Presented 4623439 1
22:50.0 Products Presented 4623439 2
26:15.0 Product Video Viewed 4623439 3
44:27.0 Products Presented 4673980 1
44:27.0 Products Presented 4673980 1
29:10.0 Products Presented 4674538 1
29:11.0 Products Presented 4674538 2
11:50.0 Products Presented 4674699 1
11:50.0 Products Presented 4674699 1
21:02.0 Products Presented 4674721 1
21:03.0 Products Presented 4674721 2
52:17.0 Products Presented 4674837 1
52:19.0 Products Presented 4674837 2
26:16.0 Products Presented 4674837 3
26:18.0 Products Presented 4674837 4
}
Try this measure:
DistinctCustomersPlayedVideo =
CALCULATE(
DISTINCTCOUNT(ConsumerFunnelTime[ConsumerID]),
ConsumerFunnelTime[ActivityType] = "Product Video Viewed"
)

Big Commerce Cart Subtotal global variable name

I've asked Big Commerce on their community forum and in the help (chat) - I'm after the GLOBAL variable name for the cart subtotal.
I need to include this in my invoice / tax receipt email.
Currently I just add this to the bottom of my standard Invoice.
RECEIPT FOR DONATION
Received from: %%GLOBAL_ShipFullName%%
Amount: %%GLOBAL_SideCartTotalCost%%
Date: %%GLOBAL_DatePlaced%%
__
NB: the SideCartTotalCost doesn't survive as a variable through to the Invoice stage, so nothing is displayed in the email sent to purchasers.
Any thoughts or suggestion most welcome. I have a case open with Big Commerce but so far nothing has come from that.

How can I see the invoice in Odoo 9 - Point Of Sale

I have installed odoo 9
And I am able to see the invoices and reports for the purchases as well as sales. But in the case od point of sales, how can we see the invoices and reports.
I would like to see the invoices/reports as POS login, as well as the administrator after the validation/payment, is done.
Thanks in advance
When you take an order in Odoo POS, select a customer and register a payment on the order. Go to Point Of Sale -> Orders and you will see your order as having an Invoiced state. Click print on the menu on the top and you can print the invoice and the receipt

Display sequential post number / count (not id) instead of "posted on date" - Wordpress

I'm creating a "150 energy tips" website, and I would like to number each post with unique number but I just don't have the skills to do it.
Then, I would display numbers instead of date so if I have 150 posts published on the site I should see tip n° x" (x=1,2,3,4...149,150) on each.
It doesn't matter if the oldest published post is 1 or 150, random numbers are good as well.

wp e commerce other currency conversion at checkout

I am using Wordpress 3.4 and the WP E Commerce 3.8
Looked for the following functionality, but couldn't find quite the right answer. Hence I am trying my luck here. The plugin gives you the ability to provide a different price for a different currency. But at checkout, it is the base currency that is shown there. What I am looking for is :
The shop will have a drop down to select options. (Like fabindia web site)
a) Delivery within India
b) International Delivery
According to the selection the price is shown in INR (Delivery withing India) or in USD (International Delivery) IMPORTANT : The USD price is put manually, not converted from INR.
If the International Delivery is selected, the prices in the checkout page will be the USD price converted into INR.
Example : (user selected International Delivery)
Product page and single product page : Sandal Soap : USD 25
Checkout page - list of products : Sandal Soap : USD 25
- Amount payable : INR 1,340.93 ($25 converted into INR at current rate)
Sorry I the answer I gave you in the comments of my currency conversion plugin obviously didn't help you...
I think you should have a look at the wp-e-commerce-role-discount plugin. It adds an additional price field to the products page and reads the value of the field in the 'wpsc_top_of_products_page' hook. Maybe the source code can help you: Line 7 and Line 136 (and don't forget 156).
Instead of checking for isPremiumCustomer() you can check for "useInternationalPrice()" or sth. like that.
But this is only the first part of your problem. The second part is converting the USD price back to INR.
This can be done with a wp_remote_get() or curl to the google conversion API:
...google.com/ig/calculator?hl=en&q=100USD=?INR

Resources