Finding Number of Customers Who Played at Least One Product Video - count

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"
)

Related

WooCommerce Product to be purchased only once regardless of the quantity and the user

I have a property site, I have rooms as products in WooCommerce. There is an option to rent the room whether for 6 months or 12 months. I did a workaround and for 6 months the product quantity will be 1 and for 12 months the quantity will be 2.
E.g
For 6 months price is 2000 (quantity 1)
For 12 months price 4000(quantity 2)
Now what I want is to restrict the product (room) to be purchased only once.
Link : https://heyrooms.com/property/morden-apartment-balham-london-6/
The book now button add the product in the cart according to the time period in the drop down above.
Edit: I can't use a variable product options. Because it's not the case here.
I would propose a different approach to solving the problem.
Why don't you create the products as variable instead of simple. You can then set the price accordingly for 6m/1y. Then just make the stock quantity as 1.
You should then be good to go.

WooCommerce Subscription

Say I have 10 products and want to offer them in a subscription.
Product 1 ($10) - 1st Month
Product 2 ($15) - 2nd Month
Product 3 ($20) - 3rd Month
.
.
.
.
So on...
As you can see, the price is different per month. Is that possible in WooCommerce? (Subscribed to a product/Plan but pays varying amount each month)
I can't find anything in the WooCommerce docs that discusses this scenario.
Thanks.
You can set subscription price as 0 and then manually add products for each month. This way the monthly price wuld be the product price only. You can also add shipping cost or any other fee you want to charge.
Instructions on how you can do this are here : https://docs.woocommerce.com/document/subscriptions/add-or-modify-a-subscription/
To automate, you can use the "Subscription Product" as product type.
(Subscription Product is an extention to the default product types in WooCommerce)

Gravity Forms - Conditional Result

I have a GF with 3 products at a set price. However, if the user purchases more than one, there's a $50 discount on each additional item.
EX: Product 1 = $500
User buys 2 items, $500 + $450 (total = $950). Is there a way to do this with native (or plugin) conditional logic?
The only way I know how to do this natively is to create an extra Product field that adds as a "base" fee. In your case, that fee would be $50. Then your product price would be $450 all the time. Use conditional logic to "show" the base fee when only 1 item is ordered and to "hide" the base fee when more than 1 item is ordered.

Opencart - Product count next to each manufacturer for allowed products only

I am showing count of products next to each manufacturer. But the number is misleading because of it count all products, I mean allowed and disallowed product too. How to count and display only allowed products count next to manufacturer?
I am using OC 2.3.0.2.
vQmod Show Count Products of Manufacturers contain:
`(".$manufacturer['products_count'].")";`
On the brand page is for brand Montura counted 12 pieces.
brand montura 12 pcs
but in brand product list are showing just 11 pieces
brand montura 11 pcs

Adding Quantity Change to Drop Down Menu

I am trying to make a pay now button for a registration form online. Each individual has two options for payment. If they are a member, they can pick and pay the member's rate for registering for this event. If they are not members, they will pick the public's rate option for it. That's fine. It works great and it will ask them to either pay the member rate or public rate.
My question is, I would like to add another drop down button which would allow them to change the quantity of tickets they buy to this event. So if they want to but 6 tickets, they select 6. And if they are not members, in the next drop down box, they select Public.
I can add the second drop down menu, but it doesn't affect pricing at all, doesn't change the quantity.
Any help?
If the price of each quantity is arbitrary, this can only be done with custom javascript.
Do your prices and quantities scale linearly? I.e. 1 for $10, 2 for $20, 3 for $30, 4 for $40 -- if so, you can use Add to Cart / Shopping Cart Buttons to handle the quantities.
Another potential hack is to multiply your current dropdown's number of entries with the number of your second menu.
General Public 1 ticket - $15
General PUblic 2 tickets - $25
Members Only 1 ticket - $10
Members Only 2 tickets - $20
Another way is to use 2 separate buttons, one listing the member rates and one listing the public rates. This might actually be the good-enough path of least resistance.

Resources