- This topic has 4 replies, 2 voices, and was last updated 14 years ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Shopping Cart Table in Sidebar
Hello —
I’ve got my shopping cart in my sidebar with the most basic [wp_eStore_cart] shortcode. However, because my sidebar is so thin, the table looks pretty lousy. The item name on the left is too scrunched, etc.
So I was wondering how hard it would be to change the table layout from
Item Quantity Price
X
To something like:
Item Name
X
Quantity
X
Price
X
Total=X
Or something that would allow the name not to get so crunched up.
Would this be very difficult to do?
-JA
If your sidebar is too narrow then the best option is to place the shopping cart on a dedicated page (example, checkout page) and use the compact cart display option for the widget.
How hard will it be to change the structure? It depends on your PHP and HTML skill. If you are comfortable coding in PHP and understand the HTML table structure then the file that you need to modify is “eStore_cart.php”.
I just put in the compact cart code in my sidebar and it’s not picking it up for some reason. The tag is just sitting there in the sidebar:
[wp_eStore_display_compact_cart]
Test Page: http://www.spinozarods.com/store/classic-reels/
Any ideas? Do I need to update or something?
-JA
Two things…
1) Make sure you have the latest version of the “Extra eStore Shortcodes” plugin.
2) On some themes the shortcodes on the sidebar do not work as it does not filter it. You can use the PHP function call to do the same:
<?php echo eStore_display_compact_cart(); ?>
This post will explain how you can use PHP code on your sidebar:
Okay the latest version of the extra codes did the trick. Guess mine was a little out of date.
Thanks!
-JA