How to get "order number" and "total amount" on Wix.com - velo

I am using Wix, an online shop.
In order to introduce affiliate tags, I would like to get the "order number" and "total amount" on the purchase completion page.
I did some research to see if there was a tag to get the "order number" or "total amount", but I couldn't find it.
Does Wix have a function to get "order number" and "total amount"?
If anyone knows, please let me know.
Thank you very much.

Related

Custom currency formatting in Power BI

How can I show the sales amount i.e., 1,444,355 to "$ 1.4 M" format in power BI chart and tables, I am able to do it like this format $1.4M without any space.
I am trying different combination of custom formatting string but still not able to get it done
Can anyone help me to get it done.
Try this expression:
Sales Amount = Format(1444355 / 1e6, "$ #.0 M")

Power BI: filter on forecast version

I am in a bit of a puzzle here and hope you guys can help:
I have the following table showing our forecast version:
Our forecast process works in the following way:
On the first day, each month, we get a new "SOP Version" and "LAG 1". After some days the "latest" LAG-version changes from "LAG 1" to "LAG 0" for the rest of the month.
Example in table: Latest "SOP Version"=SOP5. From "day 1" to fx. "day 4" the table will be loaded with "LAG 1" only. On "day 5" the table will be enriched with "LAG 0".
Now, what I want to make is a dynamic (global) filter, which always filters the latest "SOP" and "LAG"-version on the Power BI report I have.
I have managed to make a summarized table in Power BI filtering the "lowest" LAG value for each SOP-version:
SOP&LAG (Latest Vers) = SUMMARIZE('Forecast';'Forecast'[SOP Version];"LAG (lowest value)";MINX('Forecast';'Forecast'[LAG]))
But I can't figure out to isolate the the latest SOP Version (SOP5) with its latest LAG-version (LAG0).
I am not even sure this is the right approach?
All ideas will be greatly appreciated.
Thanks.
Br,
Jakob
I think you can filter your table with TOPN() like this:
TOPN(1;SOPLAG;SOPLAG[SOP Version];DESC;[SOP Version];ASC)

Can some one help me as how to write the correct Xpath to get the different condition prices

Can some one help me as how to write the correct Xpath to get the different condition prices from this site?
I want the prices $75.00 and $45.00 but when I use //*[#id="price"], I get :
Please answer all questions at left to get your price" while in the Sheets.

How to write XPath code to customize a sorted list of data in SharePoint Designer 2010?

Hello to all and thank you for any help!
I am working within a data form web part in SharePoint Designer and I need to sort the data in a fairly abstract way. It needs to be sorted by one column alphabetically but the catch is that there are two specific values from another column that have absolute priority and belong at the top of the list. I am brand new to the XPath language. Can I get a hand with some XPath code or a direction to take to solve my problem?
-Philip
Using Xpath to sort the results in a custom manner after the server has delivered them is not going to be very efficient; it's better to have SharePoint sort the results via CAML query parameters before it returns them to you so that you can work with the paged results. Otherwise you'll be looking at retrieving every item from the list just to put them in the right order.
You might consider taking a different approach that spares you from writing custom XSLT. Depending on the column type that drives your sort order, you may be able to add a calculated column to the list that displays a modified version of the source column's value.
The following formula checks if a column named "Source Column" is equal to "Value A" or "Value B". If it's one of those values, it'll display the value preceded by "1. " or "2. "; otherwise it'll display the value preceded by "3. ".
=IF([Source Column]="Value A","1. "&[Source Column],IF([Source Column="Value B","2. "&[Source Column],"3. "&[Source Column]))
Here's a quick matrix of what the calculated column's value would be for various inputs:
Source Column | Calculated Value
"Value A" | "1. Value A"
"Value B" | "2. Value B"
"Value C" | "3. Value C"
"Other Value" | "3. Other Value"
The goal here is not to display the value of this calculated column, but to sort a view by it.
The end result is that items where [Source Column] is equal to "Value A" or "Value B" will on the top, while the rest of the items will be sorted in alphabetical order.

Magento; include price attributes in (product) subtotal

Hope someone can help me with this..
I have a magento store up&running, via the attribute management ive created a price attribute (type: price, label: "Extra costs") and added it to the right attribute-set.
Now "Product A" has a price of $1 and "Extra costs" set to $2
When i order the product i kinda expect a subtotal of $3 however the extra costs are nowhere to be found.
To clearify;
Product A
Price: $1
Extra costs: $2
Product B
Price: $2
Extra costs: $4
Now im ordering both products twice; i expected my cart/order overview to look like this;
Product A | Qty: 2 | $2 (2x$1)
Product B | Qty: 2 | $4 (2x$2)
Subtotal: $6
Extra costs: $12 (2x$2 + 2x$4)
Shipping: irrelevant
Tax: irrelevant
Total: $18
However the extra costs are not calculated.. am I overlooking something? Or is it not possible at all? (If so, whats the usage of price attributes then?)
// Roland
Attributes other than the core ones are informational only (e.g. on their own, they won't affect the price of the product). In order to get an active "extra cost" field, you would need to modify the product type definitions, something which will take much longer than you want it to.
For what reason are you including this cost outside the price? The optimal way to solve this would be to simply add it to the product price itself. Adding it to the subtotal as you've indicated will be tough (but is possible if there is a hard requirement around it). Please clarify your need a little further.

Resources