• 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter lindsayanng

    (@lindsayanng)

    oh, and just incase, you can go here:

    as you can see, there is absolutely NO shopping cart widget on the page, so i do not see why I can not add it to that header area.

    Florrie

    (@flozzaa)

    By the looks of your site it seems you managed to move the shopping cart in the end. How did you do it?
    I am trying to do the same thing but not having much luck.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp e-commerce moving shopping cart box elsewhere’ is closed to new replies.