Ask your WordPress questions! Pay money and get answers fast! (more info)

WooCommerce add to cart and error WordPress

  • SOLVED

Looking to fix a problem with the add to cart short code for woocommerce. I have attached a image of the issue. the surrounding box is too wide and the add to button and price on on a slider to see both. My preference is to have the surrounding box invisible and only the proper width and height to fit the two (button and price)

Secondly on the Shop page i get the following error. I have refreshed Permalinks which was a fix online but not working still. This seems to be a problem when nothing is in the shopping cart otherwise it loads just fine.

Fatal error: Call to a member function is_visible() on a non-object in /data/22/2/82/46/2897698/user/3195170/htdocs/wordpress1/wp-content/plugins/woocommerce/templates/content-product.php on line 25

Cheers

Answers (2)

2013-04-27

Arnav Joy answers:

where is the attached image?


movino4me comments:

Lets try this again! unsupported document, Arnav, I ended up switching to a woocommerce cart for its functionality. Thanks for your help