So I'm working on this website and I'm using the woocommerce plugin.
The plugin is working fine and I can add things to my cart the only problem is that I can't view my cart. The image I've added shows my "Cart" page and you can see it just simply shows the shortcode.
http://gyazo.com/f0710eeb2fd63643bb74607988559e02
I have no idea why it isn't working :(
I found out what was wrong, I had to add this little bit of code in the page.php file:
<?php
echo apply_filters('the_content',$wp_query->post->post_content);
?>
Hope it will help anyone else too :)
I've come across this issue this week. I found that deleting the cart page and regenerating it with Woocommerce fixed it.
Go to Woocommerce > Settings > Utilities > "Create default WooCommerce pages"
Related
i have a ecommerce site in wordpress woocommerce theme. Whether i put something in the cart or not.
The cart page is autoloading in every 5 seconds. i tried googling this issue but couldn't find any solution. Please help..
If you have added any jquery code then check with that code and If you haven't added any code then try with deactivate all plugin excepting woocommere. May be some other plugins causing an issue.
I installed WooCommerce. WooCommerce setup 5 pages like: Shop, Cart, Account, Privacy and Pay.
Everything works fine but WooCommerce shows only the main categories.
My settings in the WooCommerce dashboard set to show subcategories but nothing is happening.
How I can fix this?
If you switch to a default theme like Twenty Seventeen, do the sub-categories show up?
If so, I would suggest talking to your theme author.
If not, Try re-saving your products and categories and clearing the cache.
I solved the problem.
I added the woocommerce support in my theme.
Then I created a new page called woocommerce.php
In this fil you run a loop with woocommerce_content();
This line is required in div tags with class woocommerce.
This is important for the default style!
The file look like this
<div class=“woocommerce”>
<?php woocommerce_content(); ?>
</div>
I am having an issue with woocommerce on my checkout page and I have the shopkeeper theme running on my site.
It displays the checkout fields, coupon fields, and subtotal twice.
Here is the issue
So far I have tried:
Changing themes (The same issue shows)
Deleting and re-installing woocommerce plugin and all woocommerce-related plugins
I checked my cart.php file via filezilla but am not too sure what I should be looking for.
Any sort of help would really be appreciated or if there is any sort of CSS that can quick fix it for me.
Thank-you!
=======
I made a simple WordPress theme which I'm testing locally. I got a Instagram feed plugin which gives me a shortcode to add anywhere on my blog/theme. The problem is, the shortcode does not display the feed or anything for that matter but I can see the feed's code (div) when I check the page source code. Other shortcode works but not this one. The Instagram feed works on other themes but not mine. I've tried almost all the online solutions (add_filter, do_shortcode etc) but none works.
I'm sure the problem is not in the shortcode or plugin because it works on other themes and maybe there is some problem with my theme. I had also made a WordPress theme before and the feed doesn't work even in that. I don't what code to show because I really don't the where the problem is in my theme. Any help will be appreciated.
Edit:
The shortcode is [instashow id="2"]
I've tried adding that to a page but that doesn't work. I've also tried adding <?php echo do_shortcode('[instashow id="2"]'); ?> in the template itself but that doesn't work either.
You checked to see if the plugin settings are correct?
The next step would be to check other shortcodes in other plugins to see if other shortcodes work or have problems too.
First you have to make sure if the problem is caused by the theme or the plugin.
I'm using car66 plugin in my wordpress site and I want to use the plugin's shortcode to add items into the cart. I don't know how to call a shorcode in a page. The short code is supposed to generate a button that allows the user to add items into the cart. However it is not adding into the cart. Please help me. My code is here. Please help. [add_to_cart item="EX-29"]
I figured out to use the do_shortcode inbuilt function. For example I used echo do_shortcode("[add_to_cart item=\"EX-29]\""); and it worked.