Forum Replies Created
-
AuthorPosts
-
sumeetMember
Hi,
Is it possible by any way or setting in which i could just use
print_eStore_buy_now_button($id)
and a custom pay now image that would appear for all of these?To be more clear –
I have a custom pay now button clicking on which the user will be dircted to PayPal for pyment.(No Cart or anything).
In the backend, i will just mention the
[wp_eStore_buy_now id=1]
instead of passing the same custom image path all the time using the other shortcode[wp_eStore_buy_now_custom_button id=1 button=imagepath]
.So by using the above shortcode, it should display the custom image that i would have set somewhere.
I dont find any setting to set this custom Buy now image.
Any thoughts ?
sumeetMemberOk Fine.
Could you let me know if there is an equivalent php function for the shortcode
[wp_eStore_buy_now_custom_button id=1 button=http://your-domain.com/images/buy-now.gif]
that i could use directly in the template tag ?
sumeetMemberAs i mentioned..am working on my local server and hence,the URL wont be valid for you.
However,the path and everything else is perfect.
The only thing is the additonal
<code>
tags that are appearing in the src of the img after the shortcode is parsed and replaced.I hope you are getting my problem.This time i have explained it pretty clearly in the above post of mine.
**** I have asked thrice.If you are not getting the above problem atleast let me know if there is a CORRESPONDING TEMPLATE TAG (PHP FUNCTION) FOR ABOVE SHORTCODE THAT I CAN USE IN TEMPLATE FILES*****
sumeetMemberHi,
I believe i haven’t been able to post the exact problem.
Ok – yes, i did use the shortcode and i did replace it with actual image URL.Since am working on local system, am not able to show .
I used the following shortcode-
[wp_eStore_buy_now_custom_button id=1 button=http://192.168.1.240/zing/wp-content/uploads/2010/12/pay.gif]
Output of this is as below –
<input type="image" alt="Buy Now" class="eStore_buy_now_button" src="</code>http://192.168.1.240/zing/wp-content/uploads/2010/12/pay.gif<code>">
So as you see above,the src tag has additonal
<code>
tags added because of which the image path is wrong and hence not displayed.Hope this clarifies.
Any Thoughts ?
Also, does this tag have any function that can be used in template directly?
-Sumeet
sumeetMemberin the output, for src attribute of the image it displays
<code>http://your-domain.com/images/buy-now.gif<code>
because of which the image is not getting displayed.not sure from where is the extra
<code>
coming from in the path?sumeetMemberThe editor has stripped the tags i believe.
in the output, for src attribute of the image it displays
http://your-domain.com/images/buy-now.gif
because of which the image is not getting displayed.
sumeetMemberHi,
I tried to use the below shortcode.
[wp_eStore_buy_now_custom_button id=1 button=http://your-domain.com/images/buy-now.gif]
But in the output, for src attribute of the image it displays
http://your-domain.com/images/buy-now.gif
because of which the image is not getting displayed.Any thoughts ?
Also, do you have any php function for the above shortcode that would allow me to embed this into the template file itself ?
let me know.
sumeetMemberHi,
But i am using the 1st options to integrate.
Which is Checking the box to enable the Third party integration.
For this too, i have to add the above code?
Let me know pls.
-Sumeet
-
AuthorPosts