- This topic has 5 replies, 3 voices, and was last updated 7 years, 4 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 › Compact shoping cart PHP function makes a blank page (eStore)
Hi, I have some problems with inserting this line of PHP .. <?php echo eStore_shopping_cart_fancy1(); ?>
into template-topmenu.php …
When i insert the code the page goes blank
All i wanted that to show compact cart nr. 4 in the top menu.
my testing page is : per.studioperkofol.com
Please help
tnx
Please provide instructions on “what to do,” to see the blank page on your site.
What I mean is…
The URL you gave us is for a site, in a language other than English. You gave the impression that the page would be blank. What do I have to do, to see the error?
This how i see it.
[https://postimg.org/image/75uyiib9t/]
And i did clear my cache… but still blank site. When i remove the line ” <?php echo do_shortcode(“[wp_eStore_display_compact_cart2]”); ?
” from top-menu.php ..works fine.
It looks like you have a syntax error in the code that you entered.
You can’t use double quote inside another double quote. Try the following line (copy and paste it so there is no typo):
<?php echo do_shortcode(‘[wp_eStore_display_compact_cart2]’); ?>
I have tested the above line of code myself so I know it works for sure.
Working!
Tnx a lot for your help.