Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › WebTechGlobal – Add To Cart Form Missing From HTML
- This topic has 10 replies, 2 voices, and was last updated 13 years, 7 months ago by WebTechGlobal.
-
AuthorPosts
-
April 19, 2011 at 10:37 am #3210WebTechGlobalMember
Hi
Please see the very bottom of this page…
http://www.webtechglobal.co.uk/wordpress-easy-csv-importer
There are two shortcodes added for testing. One is the fancy and one is the add to cart button. Both fail in different ways. Despite the same product ID being used in both, the second states the product ID is invalid. The first one obviously finds the product because there is a description, yet the html form is not complete.
SHORTCODES
[wp_eStore_fancy2:product_id:1:end] (displays but not complete html form)
[wp_eStore_add_to_cart:product_id:1:end] (states Id is incorrect despite working above)
I’ve been having issue for the last week. I just upgraded to the latest version of eStore hoping it might solve the problem, I knew it probably wouldn’t considering the previous version worked fine.
These problems started around the same time I installed the affiliate platform plugin, does that make changes to the eStore table or something?
I really can’t think of anything else that would effect this and I need some support. I tried deactivating the affiliate plugin but it makes no difference hence why I thought it might be because of a permanent change to the database.
My affiliates are already advertising but until the cart works they will lose out. Any help is appreciated.
Thanks
Ryan
April 19, 2011 at 11:17 am #31562WebTechGlobalMemberThese are now the shortcodes I have, I suspect the one displaying the message is simply wrong.
[wp_eStore_fancy2:product_id:1:end]
[wp_eStore_add_to_cart:product_id:1:end] (is this one just an invalid shortcode ? )
[wp_eStore:product_id:1:end]
[wp_eStore_fancy2:product_id:0:end] (blank products submit to the shopping cart)
If I add an invalid ID to fancy design it is obviously all blank but the button still shows as default. When the button is pressed, it adds a blank product to the cart and many can be added proving server is allowing php sessions.
April 19, 2011 at 11:18 am #31563WebTechGlobalMemberRegarding blank products.
Latest version of eStore does not allow it. I done a test on the old version that is what allows blank values on the page and allows submission of product.
April 19, 2011 at 2:21 pm #31564WebTechGlobalMemberJeeze I’m obviously working a bit fast. Obviously my affiliates will still get paid even it is using Buy Now buttons because it is still done through the eStore plugin lol
I uploaded the old plugin. The page how has a blank product which adds to cart and a test product which also adds to cart. That means that it must be my specific product settings “Easy CSV Importer” product ID 1, causing this…
April 19, 2011 at 2:24 pm #31565WebTechGlobalMemberI just copied the product with ID 1 and it created product with ID 5.
That also does not add to cart
Can anyone think of any specific settings that would do this because I’ve tried changing everything already I already suspected it was a specific product. Nothing seems to work.
April 19, 2011 at 11:13 pm #31566amin007ParticipantThe following shortcode that you are using is wrong
[wp_eStore_add_to_cart:product_id:1:end]
Where did you get this shortcode from? The correct one would be:
[wp_eStore_add_to_cart id=1] or [wp_eStore:product_id:1:end]
No, the affiliate plugin does not alter any eStore table.
Yes, affiliates get credited even if it is a “Buy Now” or “Subscription” type buttons created with WP eStore.
Don’t worry about using the old version. The new version is stable and should be able to handle everything the old one could. When you imported the products did you assign a product ID yourself or did you let it automatically assign the ID? When you go to eStore’s Manage Product menu does it show the product IDs in the “ID” column?
April 26, 2011 at 6:18 pm #31567WebTechGlobalMemberThanks for reply Amin.
The products data has to be fine because the product information shows fine on fancy style.
I tidied up the testing at the bottom of the page and only these two short codes are in use…
[wp_eStore_fancy2:product_id:1:end]
[wp_eStore:product_id:1:end]
The biggest change I’ve recently made to the plugin is the button image.
I’ve tried everything, this is one strange issue Amin. Actually I’ve not tried getting stuck into your code, think I’ll do that right now.
Thanks
Ryan
April 26, 2011 at 6:21 pm #31568WebTechGlobalMemberI should also mention, this problem happens when adding the product from the shop page not just where I place it on my landing page.
I’ll me hunting for the code that generates the form and with error display activated.
April 26, 2011 at 7:04 pm #31569WebTechGlobalMemberThis is the entire form, sorry I should have thought to show it before…
<form method=”post” action=”http://www.webtechglobal.co.uk/products/checkout” style=”display:inline”><input type=”image” src=”http://www.webtechglobal.co.uk/wp-content/uploads/2011/04/addtocartcc-orange.png” class=”eStore_button” alt=”Add to Cart” /> </form>
The function in the centre of the form obviously returns nothing. Might take me some time to debug it properly.
Here is a summary what I’ve tried so far from interface.
1. Used default button
2. Duplicated product, duplicate didnt work! Tells me its info in the product but what?!
3. Changed every field for the product, removed special characters from description.
4. Buy Now buttons work, simply has a button image that says Add To Cart for now
5. Tried fancy style and a standard button neither work so the issue is related to whatever functions are shared by them.
6. Disabled all plugins apart from eStore obviously.
7. Disabled affiliate platform plugin (yours)
8. Renamed product
9. Changed price
April 27, 2011 at 12:09 am #31570amin007ParticipantTo me it looks like you have specified a value in the “Button Link” field of this product. This option is used to simply redirect to a page when the add to cart button is clicked. This is what the help text for that field says:
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. Useful when you are selling/promoting product of others.
April 27, 2011 at 12:38 am #31571WebTechGlobalMemberThat was it!
I’ve no idea how I managed to add that value so I never even considered it.
What a lot of time wasted, thanks a lot Amin great service as usual. I think I should have a holiday soon.
-
AuthorPosts
- You must be logged in to reply to this topic.