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

Variations Not Showing in Shopping Cart

by

Tips and Tricks HQ Support Portal › Forums › Simple PayPal Shopping Cart › Simple shopping Cart Troubleshooting › Variations Not Showing in Shopping Cart

Tagged: variation control

  • This topic has 9 replies, 4 voices, and was last updated 11 years, 3 months ago by wpCommerce.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • February 7, 2014 at 2:54 pm #10584
    qualityeye
    Spectator

    Items are added to the shopping cart, but the variations are not showing. So for example I have a white t-shirt with small, medium and large sizes. I pick the t-shirt in small. The shopping cart will show white t-shirt but it won’t show the size.

    I checked and it works fine on the Twenty Fourteen theme, but I’m using a custom theme. Is there anything that I can do to fix this?

    February 7, 2014 at 5:46 pm #60707
    wzp
    Moderator

    When you say “custom theme,” is it one written “just for you” or did you purchase it from someplace?

    February 7, 2014 at 10:32 pm #60708
    Peter
    Member

    Please post a link to your store so we can take a look.

    February 10, 2014 at 2:41 pm #60709
    qualityeye
    Spectator

    It’s custom as in it was a HTML template and was converted to work with WordPress. http://deduction.us/store_page/ is the page.

    February 10, 2014 at 3:40 pm #60710
    wzp
    Moderator

    I think your theme needs more debugging. First of all, the cart *did* properly display for me, when I used Chrome. But when I tried this on Internet Explorer, a “very large blank space” was rendered at the top of the page body. And when I tried this in Firefox, I had to click each button twice. Your theme also seem to be “top heavy” with javascript functions. So much so, the required load time doesn’t do justice to a site about racing.

    February 10, 2014 at 8:43 pm #60711
    qualityeye
    Spectator

    The cart works. The problem is the variations don’t get transferred to the cart when you press add to cart. I tested out the theme in several browsers and even checked it on browsershots and couldn’t replicate the blank space that IE causes. What version of Internet Explorer are you using? Someone else mentioned the blank space also.

    The javascript definitely will get better optimized as well as the rest of the theme/template.

    February 10, 2014 at 8:54 pm #60712
    wzp
    Moderator

    The variation ***does*** show up in the cart, as part of the Item Name:

    “Allison White T-Shirt Small”

    I’m using IE version 11.0.9600.16476

    February 10, 2014 at 9:04 pm #60713
    qualityeye
    Spectator

    That isn’t the variation, I listed the products individually as a work-around. I just added a variation so that you can see. If you scroll to the bottom of the page [http://deduction.us/store_page/] you will see Test Product with the variations. Pick any size and you will see the size doesn’t go into the cart, just the product without the variation information.

    I took the code directly from this page so it isn’t a code I made up http://www.tipsandtricks-hq.com/ecommerce/simple-wp-shopping-cart-installation-usage-290 .

    This is the exact code used:

    [wp_cart_button name=”Test Product” price=”29.95″ var1=”Size|small|medium|large”]

    February 10, 2014 at 10:29 pm #60714
    wzp
    Moderator

    I suspect there is some kind of Javascript conflict going on between your custom theme and the simple shopping cart; since switching to 2014 make the issue go away. Has your theme developer look at this?

    February 11, 2014 at 12:03 am #60715
    wpCommerce
    Moderator

    @qualityeye, when I select a variation I get the following error:

    Uncaught ReferenceError: ReadForm is not defined (index):2253

    Simple PayPal shopping cart includes some additional JavaScript code in the header to handle the variation. But I don’t see it on that page. Does your theme have the wp_head action hook defined?

    [http://codex.wordpress.org/Plugin_API/Action_Reference/wp_head]

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