Forum Replies Created
-
AuthorPosts
-
December 22, 2010 at 3:07 pm in reply to: How to redirect users after clicking the add to cart button #26436Ms_GMember
Hi amin007, thanks for your response!
I took a look at the code that is generated for the button and wrapped it up in a <form> tag that redirects after the button is clicked. It works, it adds the item to the cart and redirects my page to the questionnaire.
Can you please take a look at the code and let me know if you think this extra <form> tag can cause any problems with the plug-in?
THANK YOU SO MUCH!
<form method=”post” action=”http:www.mywebpage.com/questionnaire1″>
<object class=”eStore_button_object”><form method=”post” class=”eStore-button-form” action=”” style=”display:inline” onsubmit=”return ReadForm1(this, 1);”><input type=”hidden” name=”add_qty” value=”1″ /><input type=”image” src=”/images/buy_button.png” class=”eStore_button” alt=”Add to Cart” /><input type=”hidden” name=”product” value=”Form one” /><input type=”hidden” name=”price” value=”79.00″ /><input type=”hidden” name=”product_name_tmp1″ value=”Form one” /><input type=”hidden” name=”price_tmp1″ value=”79.00″ /><input type=”hidden” name=”thumbnail_url” value=”” /><input type=”hidden” name=”item_number” value=”2″ /><input type=”hidden” name=”shipping” value=”” /><input type=”hidden” name=”addcart_eStore” value=”1″ /><input type=”hidden” name=”cartLink” value=”http:www.mywebsite.com/product_one” /></form></object>
</form>
December 21, 2010 at 6:53 pm in reply to: How to redirect users after clicking the add to cart button #26434Ms_GMemberRegarding my last post:
Can I add some PHP code so that when I use the “Button Link” option (Only use this if you want the Add to Cart button for this product to go to the specified URL (eg. a landing page) instead of adding the product to the shopping cart.)it adds the product and redirect to the page?
Thanks!
December 21, 2010 at 5:23 pm in reply to: How to redirect users after clicking the add to cart button #26433Ms_GMemberHello!
I’m using Wp eStore and I have the following problem:
In some products I need to “add to cart” and redirect a customer to a specific page to fill in a questionnaire. Every product has a different questionnaire so I can’t use the global redirection described above.
Is this possible? Can I add to cart and then redirect to different specific pages depending on the product?
Thanks!
-
AuthorPosts