Hey,
So what happens if you try and use the widget? Has your theme definitely got a widget area defined? Have you tried a shortcode?
Hello James, thank you for your reply, I’ve just made two pages, both with the shortcode, the first has nothing filled out in the ‘sku’ properties and can be found here: http://vanalleswatontwerp.nl/development/colorfabb/wordpress/?page_id=8 (you can see that the shortcode somewhat works by saying it “Please specify an SKU for your product or products.”)
The other page has the same shortcode except that it has the ‘sku’ property set to ‘abc’, which matches a product on the magento website. http://vanalleswatontwerp.nl/development/colorfabb/wordpress/?page_id=49 (The page fails to load properly)
I tried the widget on multiple locations using different themes, no avail.
I think the problem lies somewhere in magento…
Could you try enabling wp_debug and see if any messages are given?
I’ve just enabled debugging and got this:
Fatal error: Call to a member function getStoreLabel() on a non-object in /home/vaw/domains/vanalleswatontwerp.nl/public_html/development/colorfabb/magento/app/design/frontend/base/default/template/catalog/product/price.phtml on line 50
I think someone documented this issue here: http://ww.wp.xz.cn/support/topic/php-fatal-error-when-using-shortcodes?replies=13
(The last post) Can you try that and see if it works? I’ll be releasing an update for 1.8 soon
Ok, changing the property price to ‘false’ solved the error. The product is now showing on the page. The next question is then, why is this? The widget and default blocks are still not working.
Hi,
As mentioned in my previous post, there is an issue with the pricing in 1.8 – I will be releasing an update shortly.
Ok, thanks. Can you give an estimate on when you will be releasing an update?
I checked the widget with ‘prices’ ticked off, that seems to also solve the problem.
Hello,
The issue is with a file in Magento, I have added the “fixed” code here, with instructions:
https://bitbucket.org/jamesckemp/magento-getstorelabel-error-v1.8/overview
I am using wordpress for my blog on magento site.I have activated the Jetpack comments but they are not showing up the results.What to do?