I'm not sure if you're aware of this but on the new PayPal "invoice" (the page users are taken to once they click the buy button on sponsor.tpl) loads the hidden variable {SPONSORITEM[1]} on the left hand column.
This might be confusing to some users and I wondered if there was a way for it to not show up.
Or is it suppose to show up but as something else?
Please look at the current template (click "show standard template"), it uses {SPONSORITEM} within <!-- --> commented regions. Not the [1] stuff. Don't type in a sponsorship item number by hand to the template (you used to need to in old versions, but not now), let the script handle that. It will display all the levels automatically as you've entered them at Admin -> revenue -> sponsorship.
That's great and all, but I only want to show various levels to various groups.
IE listing type A = 5$ listing type B = 10$
Usergroup 1 has paid for item type A but now wants to be B Usergroup 1 can upgrade to item type B for $5.00 where as Usergroup 1 can buy item type B from the start for $10.00.
Forcing an item_number won't work? Because I only want the users with A listings to see ONE paypal button to upgrade to B, not a full on purchase. They're getting a discount for upgrading and I can 't trust a user to push the right paypal button.
I'm forcing item types A and B based on user choice (e.g. two different submit link forms - it's always been like that for me anyway).
That way when we reach sponsor.tpl, I can filter different paypal buttons based on item type and amount of funds (I filter via funds assuming if the sum of funds is greater than 0 they probably purchased item type A and might want to upgrade to (item_number 4), if less than, they're about to run out or they're new/unpaid hidden listings where someone skipped the sponsor page) These users (the hidden/pending listings get the two buttons giving them a choice of item type A for 6 months (item_number 1) or item type A for 12 months (item_number 2)
Comments on Sponsorship template variable
Forum Regular
Usergroup: Customer
Joined: Nov 25, 2003
Total Topics: 70
Total Comments: 211
I'm not sure if you're aware of this but on the new PayPal "invoice" (the page users are taken to once they click the buy button on sponsor.tpl) loads the hidden variable {SPONSORITEM[1]} on the left hand column.
This might be confusing to some users and I wondered if there was a way for it to not show up.
Or is it suppose to show up but as something else?
Attached snapshot to explain what I mean.
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
What it should show is the actual item number, you need to update the template to the current version to get that displayed properly.
I don't see any way to hide the item number though.
Forum Regular
Usergroup: Customer
Joined: Nov 25, 2003
Total Topics: 70
Total Comments: 211
Okay, thanks.
My bad.
Forum Regular
Usergroup: Customer
Joined: Nov 25, 2003
Total Topics: 70
Total Comments: 211
I still have an issue.
I originally had my paypal buttons showing up based on the links type.
What variable format do I use instead of {SPONSORITEM[1]} to attain that such that
linktype = property only shows two sponsorships {SPONSORITEM[1]} (6months) and {SPONSORITEM[2]} (12months.
linktype = vendor only shows its paypal button and so on.
----
For item_number should I just put the sponsorship item number and that's it?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Please look at the current template (click "show standard template"), it uses {SPONSORITEM} within <!-- --> commented regions. Not the [1] stuff. Don't type in a sponsorship item number by hand to the template (you used to need to in old versions, but not now), let the script handle that. It will display all the levels automatically as you've entered them at Admin -> revenue -> sponsorship.
Forum Regular
Usergroup: Customer
Joined: Nov 25, 2003
Total Topics: 70
Total Comments: 211
That's great and all, but I only want to show various levels to various groups.
IE
listing type A = 5$
listing type B = 10$
Usergroup 1 has paid for item type A but now wants to be B
Usergroup 1 can upgrade to item type B for $5.00 where as
Usergroup 1 can buy item type B from the start for $10.00.
Forcing an item_number won't work? Because I only want the users with A listings to see ONE paypal button to upgrade to B, not a full on purchase.
They're getting a discount for upgrading and I can 't trust a user to push the right paypal button.
I'm forcing item types A and B based on user choice (e.g. two different submit link forms - it's always been like that for me anyway).
That way when we reach sponsor.tpl, I can filter different paypal buttons based on item type and amount of funds (I filter via funds assuming if the sum of funds is greater than 0 they probably purchased item type A and might want to upgrade to (item_number 4), if less than, they're about to run out or they're new/unpaid hidden listings where someone skipped the sponsor page) These users (the hidden/pending listings get the two buttons giving them a choice of item type A for 6 months (item_number 1) or item type A for 12 months (item_number 2)
Can I make it more complicated? Yes.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Just conditionalize it like this (this makes only the sponsorship level with the item #87 show up):
<IF {SPONSORITEM} is 87> ... </IF> is the only relevant part, rest should be replaced with your own content.