Title: Shopping Cart Button Error
Last modified: August 19, 2016

---

# Shopping Cart Button Error

 *  [Mark Alberhasky](https://wordpress.org/support/users/mark-alberhasky/)
 * (@mark-alberhasky)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/shopping-cart-button-error/)
 * Everything ‘looks’ to be setup correctly.
    When you use ‘view page’ from each
   page they display correctly. Even the shopping cart shows correct info. Yet when
   you click go to shopping cart on the e-commerce gallery page it directs you to
   another page, not the page set as shopping cart.
 * Shopping cart title on e-commerce settings page under Theme Options is correct.
 * You can view the pages here:
    [http://www.imagema.com/blog](http://www.imagema.com/blog)
   and access the ‘store’ via the top menu.
 * Thanks for any advice.
    Mark

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [jkovis](https://wordpress.org/support/users/jkovis/)
 * (@jkovis)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/shopping-cart-button-error/#post-2065205)
 * Looking at the widget html of the “Shopping Cart” button it looks like it’s not
   receiving the correct URL of the cart (I trimmed some code so it’s more readable
   here):
 *     ```
       <button id="addto2" class="positive" onclick="window.location.href = "http://www.imagema.com/blog/?page_id="">Shopping Cart: 1 item</button>
       ```
   
 * Are you supposed to set that URL in the widget?
 *  Thread Starter [Mark Alberhasky](https://wordpress.org/support/users/mark-alberhasky/)
 * (@mark-alberhasky)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/shopping-cart-button-error/#post-2065243)
 * Yep, that looks like the problem and would explain the resulting behavior. The
   catch is that the widget you refer to (where the code might be corrected) is 
   not a user accessible WP admin function, as far as I can tell. An erroneous link
   address was my first impression but I’ve scoured the site for where to modify
   it, to no avail. Since it’s part of the e-commerce functiuonality, which I suspect
   is complicated, they probably want to keep users fingers out of most of it.
 * I’ve sent in a message to support from the theme designer, and while typically
   responsive they haven’t answered that email yet. Since I don’t have code skills
   I’m stuck in the water for the time being.
 * Thanks!
    Mark

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Shopping Cart Button Error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Mark Alberhasky](https://wordpress.org/support/users/mark-alberhasky/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/shopping-cart-button-error/#post-2065243)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
