February 8, 2011 at 8:34 pm #2670
Is there a way I can use a URL instead of shortcode for the but now Product ID? Meaning, instead of using [wp_eStore_buy_now:product_id:1:end] I would use http://mysite.com/wp-content/plugins/wpestore/product1. Please let me know as the shortcode is giving me an error since I am placing it within another shortcode variable I am using and the link doesn’t work.
ThanksFebruary 9, 2011 at 4:44 am #28849amin007Participant
There is no option to use URL but I think I know what the issue is. the shortcode you are using uses a filtering technique rather than the proper WordPress shortcode API so it can’t be used inside another shortcode.
You can use the following shortcode of eStore which also places a buy now button with your custom button image:
[wp_eStore_buy_now_custom_button id=1 button=http://your-domain.com/images/buy-now.gif]
The above shortcode uses the proper WordPress shortcode API so it should work inside another shortcode.February 9, 2011 at 5:13 pm #28850
Thank you Amin,
I tried adding that and I get the same error, see here http://glocalwebtech.com/pricing-table
I added this [wp_eStore_buy_now_custom_button id=1 button=http://glocalwebtech.com/wp-content/themes/TheStyle/epanel/shortcodes/images/join-button.png]
The whole line is: [pricing price=”100″ title=”Basic” desc=”Monthly Support” moretext=”Buy Now” url=”[wp_eStore_buy_now_custom_button id=1 button=http://glocalwebtech.com/wp-content/themes/TheStyle/epanel/shortcodes/images/join-button.png]”]
I’ve only added it in the first option to test it and you can see the extra “] on there. Is there supposed to be a space between the id & button section? Is this the only option there is? I want it to go from the buy now to PayPal directly.
DanaFebruary 9, 2011 at 5:15 pm #28851
Another thought is maybe just use the WP eMember, is it possible to get URL link that way?February 10, 2011 at 3:37 am #28852amin007Participant
I see your shortcode now… it won’t work like that. That other plugin simply wants to link to a page not actually put a form there. You can do the following:
Create a WordPress page called “Product1” and place a buy button there using eStore. You can also put other details of product 1 on this page. Now use the URL of this page in your shortcode. When the customers click the buy button in that price table they will be redirected to the page with the full details of that product and can make the purchase.February 10, 2011 at 3:15 pm #28853
- You must be logged in to reply to this topic.