wp e-commerce moving shopping cart box elsewhere
-
So i have been playing with creating a new widget friendly place for my shopping cart,but for some odd reason it isn;t working. I contacted the theme designer and all they said was “dont use widgets, just hard code it if you just want that one thing”
So I created a div and floated it where I wanted, and inside i added:
<?php include( TEMPLATEPATH . 'wp-content/plugins/wp-e-commerce/widgets/shopping_cart_widget.php' ); ?>
In my mind, that SHOULD work, but its not working.. I went into the widgets and removed theshopping cart widget from my sidebar, but I can getting a “can not redeclare error”
Fatal error: Cannot redeclare widget_wp_shopping_cart() (previously declared in /home/furryfam/public_html/wp-content/plugins/wp-e-commerce/widgets/shopping_cart_widget.php:2) in /home/furryfam/public_html/wp-content/plugins/wp-e-commerce/widgets/shopping_cart_widget.php on line 2
I tried to just rename the fuction inside of shopping_cart_widget.php to the following:
widget_wp_shopping_cart2()
just for testing reasons. to see what cart box would show, and where it was getting it’s function from.That did not work.. instead I got an error stating that it could not redeclare the second function
So my question is, where else is this function being displayed and how do i remove it?
- The topic ‘wp e-commerce moving shopping cart box elsewhere’ is closed to new replies.