- This topic has 5 replies, 3 voices, and was last updated 10 years, 6 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 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 › estore create small cart in the header of my theme
Tagged: cart, Compact Cart, estore, header
I want to be able to achieve a cart image, no of items and price within the header of my theme, like the header here: [http://www.micro-scooters.co.uk/]
Is there anyway of doing this, as the shortcodes seem to have way more going on when you test them?
Thanks
Adam
Please check the compact cart shortcodes of eStore:
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-compact-cart-display-templates-1527
Thanks admin, I just couldn’t find this info for some reason…
Sadly when I add the following into a page or in sidebar:
[wp_eStore_display_compact_cart]
nothing happens it just literally display the above code, doesn’t convert it into a compact cart image..
Am I doing something wrong?
When you say “sidebar”, do you mean the sidebar widget (example: text widget)? or do you mean the sidebar.php of your theme?
If you want to use the compact cart from a PHP file then use the following code:
<?php echo do_shortcode("[wp_eStore_display_compact_cart]"); ?>
Hi, I would insert a compact image of cart in the Header and Footer.
To be clear exactly like in this image [http://screencast.com/t/zd1TnS8uS]
Well, I guess I have use some php, and I tried to add in the header.php and
footer.php the code:
<?php echo do_shortcode(“[wp_eStore_display_compact_cart]”); ?> but in the front-end I got only an echo of this [wp_eStore_display_compact_cart].
I tried also with <?php echo eStore_display_compact_cart(2); ?> but the front-end was completely broke.
Any help ?
Thanks & Regards
What version of the plugin are you using? Have you installed the extra estore shortcodes addon?
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460