Perhaps it is something with using variable products – is there a key to doing that?
(IE am I purchasing product #2053 when I purchase that product with variation #3010? and if not what do I enter in the pay per post field to identify the variable product number as well?)
EDIT: I tested a few things to add clarity here. PPP will indeed restrict access to posts until they are purchased. I am able to see items that I have purchased if I know their direct link – however I cannot use the shortcodes to list out all the items I have access to. Also regardless of variation I am able to access a post. This should be dependant on the option of the variable product.
My setup is as follows
Product A: A video
Variable 1: Streaming
Variable 2: DVD Copy
If you select variable 1 it is a virtual/downloadable product and I should gain access to the corresponding post.
If you select variable 2 is it s regular simple product and should not be given access to above mentioned post.
However – Regardless of variable selected if I buy product A I indeed gain access to the post. Even if variable 2 is selected.
SO: I have two issues
1) The shortcodes don’t output any information
2) I need to restrict posts to a product id + variable id. There is some sort of format to make this work I’m just not sure what it is.
Thank you for your time.
Hurm.. You know that is something that I never thought about. I will have to look into see how product variable ids are stored to see what I can do to check against that.
I am wondering if it would be better for me to have the shortcode look up by SKU instead of product id, then you could just have different skus for product.
Thoughts?
That would work – I’d have to make separate sku’s for all my variations but that’s at least do-able. There has to be a format to make the variations work..
I tried PRODUCTID#VARIABLEID, PRODUCTID&#VARIABLEID, PRODUCTID&VARIABLEID
to no avail…
My biggest concern right now is that the shortcode to display all the purchased products does nothing at the moment.
Okay for the shortcode not displaying anything, can you turn debugging on and see if there is any errors? Have you tried to disable all plugins, except woocommerce, and see if that works. I just want to see if it is something particular to your install or something else. I haven’t had any other people say anything about the shortcode not working and I use it on several of my sites now.
Okay – no problem. How do I turn on debugging? Sorry for asking.
I enabled debugging, no errors on the page. I disabled all plugins and enabled one by one starting with WooCommerce and PPP and nothing…
Can you email me and I’ll let you login and give a glance at it…I’m not sure what’s going on.
I am resolving this ticket as this was a theme related issue.