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

Add to Cart Button Redirecting Users to Paypal Login Screen & Not Adding to Cart

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Add to Cart Button Redirecting Users to Paypal Login Screen & Not Adding to Cart

  • This topic has 3 replies, 3 voices, and was last updated 10 years, 4 months ago by wpCommerce.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 27, 2015 at 2:59 pm #12127
    nickicee
    Member

    I’m using tablepress for my add to cart buttons because I sell workshops (one workshop per page) with many sessions for each workshop. I use table press to separate out the sessions and each row has an add to cart button for that particular session. Every once in a while, the first row in each table makes the Add to Cart Button not work and instead directs the user to their Paypal log in screen rather than adding the product to the cart. If I change the order of the items in the table, it’s always the add to cart button in the first row of the table whose add to cart button doesn’t work.

    Here is the page where it is currently not working: [http://www.lawritersgroup.com/monthly-writers-room-la-writers-group/]

    I’ve checked my shortcode and it is accurate. I’ve tried deleting the product and creating a new one, nothing. I’ve tried deleting that row and adding typing it in fresh and nothing. I’ve tried copying the code of a working button and nothing.

    January 28, 2015 at 12:00 am #68299
    admin
    Keymaster

    That means you have an HTML error on that page (most likely in the table code). Or it is missing a HTML end tag somewhere. So that error is breaking the add to cart form’s HTML code.

    Crete a brand new test page then put all the shortcodes there to make sure it works. Then add the table to that page to see if it work. Then add other components to that page. This way you will be able to see which component has the HTML error and breaks the button.

    February 5, 2015 at 3:50 pm #68300
    nickicee
    Member

    I figured it out. Somehow, there was some Paypal form action code on my page popping in just above the TablePress table that contains my add to cart buttons. You might want to test this because when I created this page, I started a brand new page (I did not copy it from another page) so the only way I can think that the form action code got in there is related to the add to cart button shortcode. I don’t know if this makes any sense programmatically but I definitely didn’t type it in. All I did was add the shortcode for the table. This is the page, in case you want to look at it: [http://www.lawritersgroup.com/monthly-writers-room-la-writers-group/]

    February 5, 2015 at 11:58 pm #68301
    wpCommerce
    Moderator

    @nickicee, eStore doesn’t actually insert HTML code directly. The content is rendered via shortcodes which can only get filtered on the front end.

    http://codex.wordpress.org/Shortcode_API

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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