Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

WebTechGlobal – Add To Cart Form Missing From HTML

by

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 14 years, 1 month ago by WebTechGlobal.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • April 19, 2011 at 10:37 am #3210
    WebTechGlobal
    Member

    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 #31562
    WebTechGlobal
    Member

    These 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 #31563
    WebTechGlobal
    Member

    Regarding 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 #31564
    WebTechGlobal
    Member

    Jeeze 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…

    http://www.webtechglobal.co.uk/wordpress-easy-csv-importer

    April 19, 2011 at 2:24 pm #31565
    WebTechGlobal
    Member

    I 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 #31566
    amin007
    Participant

    The 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 #31567
    WebTechGlobal
    Member

    Thanks 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 #31568
    WebTechGlobal
    Member

    I 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 #31569
    WebTechGlobal
    Member

    This is the entire form, sorry I should have thought to show it before…

    <form method=”post” action=”http://www.webtechglobal.co.uk/products/checkout&#8221; style=”display:inline”><input type=”image” src=”http://www.webtechglobal.co.uk/wp-content/uploads/2011/04/addtocartcc-orange.png&#8221; 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 #31570
    amin007
    Participant

    To 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 #31571
    WebTechGlobal
    Member

    That 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.

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ