After extensive research and about 2 hours of experimentation I still have the following problem:
经过广泛的研究和大约2个小时的实验,我仍然有以下问题:
The "Add to Cart" button isn't showing on the Single Product page on varied products (e.g. tshirts with different sizes), but it is showing on normal products pages (e.g. Bags).
单个产品页面上的“添加到购物车”按钮未显示在各种产品上(例如,具有不同尺寸的T恤),但它显示在普通产品页面(例如包)上。
Now, I also noticed that the normal photobox doesnt open: Normally you would click on the product image and get the image displayed in a small box, where you can look through them. HINT: Therefore the problem may lie in loading the Javascript?
现在,我还注意到普通的photobox没有打开:通常你会点击产品图像并将图像显示在一个小盒子里,你可以在那里查看它们。提示:因此问题可能在于加载Javascript?
Switching Themes to the storefront Theme by woocommerce solves the problem, but I failed to isolate the specific after hours. (I debugged Woocommerce, too, and the Systemsreport doesn't say anything interesting either).
通过woocommerce将主题切换到店面主题可以解决问题,但是我没能在下班后隔离特定的。 (我也调试了Woocommerce,而Systemsreport也没有说任何有趣的事情)。
Stangely it worked yesterday at the launch of our homepage, and today it doesn't. I did some minor changes, but rolling back to yesterdays' version didn't do the trick.
Stangely昨天在我们的主页发布时工作,今天它没有。我做了一些小的改动,但回到昨天的版本没有做到这一点。
Thank you for your help and effort,
感谢您的帮助和努力,
Felix
Page: http://www.werteleben-clothing.de/wordpress/produkt/sweater-werte-leben/
1 个解决方案
#1
0
I was missing this in my footer, and therefore the Plugin scripts failed to load.
我在页脚中遗漏了这个,因此插件脚本无法加载。
<?php
wp_footer();
?>
This is so obvious, but I am so happy to have finally solved this.
这是如此明显,但我很高兴终于解决了这个问题。
Lesson learned:
When trouble shooting write down everything you know on a piede of paper and start with the very plain obvious, dumb basics.
当故障排除时,在一张纸上写下你所知道的一切,并从非常明显的,愚蠢的基础开始。
For others who experience similiar problems: Make sure you didn't overwrite your wp_head() and wp_footer() in your respective .php files.
对于遇到类似问题的其他人:确保您没有在各自的.php文件中覆盖wp_head()和wp_footer()。
Greetings,
Felix
#1
0
I was missing this in my footer, and therefore the Plugin scripts failed to load.
我在页脚中遗漏了这个,因此插件脚本无法加载。
<?php
wp_footer();
?>
This is so obvious, but I am so happy to have finally solved this.
这是如此明显,但我很高兴终于解决了这个问题。
Lesson learned:
When trouble shooting write down everything you know on a piede of paper and start with the very plain obvious, dumb basics.
当故障排除时,在一张纸上写下你所知道的一切,并从非常明显的,愚蠢的基础开始。
For others who experience similiar problems: Make sure you didn't overwrite your wp_head() and wp_footer() in your respective .php files.
对于遇到类似问题的其他人:确保您没有在各自的.php文件中覆盖wp_head()和wp_footer()。
Greetings,
Felix