E-Commerce: Hardcoding Product List Block in Page Type Buggyness
I'd like to have a page type that outputs all products below the current page without the user having to create the page and add the Product List block manually.
Then I tried hardcoding a block, but I get the error:
Fatal error: Call to a member function getBlockID() on a non-object in /var/www/(..)/packages/core_commerce/blocks/product_list/controller.php on line 352
Another user has reported this here:
But got no answer - what's the dealio? Any way to hardocde this block in a page type?? This seems like an awfully common use-case scenario ...
If you can't edit areas there click permissions for that page, and ensure that admins have edit rights.
Yeah that totally worked :)
However, there is one slightly annoying problem remaining. If I have an existing page in another page type, and then switch to my Product List pagetype, the defaults are not loaded. Which.. Kinda sucks :( - I have to delete and recreate the page with the correct page type whenever this issue crops up.
Where is the C5 bugtracker BTW? I would really like to bump the dev. team for a bugfix with regards to the problem of Block Controllers not triggering the on_start event when added via. a stack. Ive encountered this problem 3 seperate times in the last couple of months now, so it's not a trivial issue.
All in all, the e-commerce plugin is relatively well written under the hood, but the views are... Absolutely atrocious. What's up with all those tables and <br> tags? This is 2012 gentlemen, not 1999!
If I were you I would save my money and look at alternate e-commerce systems which you can run side-by-side with your C5 install. I absolutely love Concrete5 and have built quite a few platforms on it through the last 2 years - but the E-Commerce plugin is - overall - quite terrible.
Sooo many hacks are required for the simplest alterations - and as mentioned the views seem to be designed by somebody who forgot what MVC is all about.
So I urge you to look at alternatives... Lemonstand and Opencart come to mind as excellent choices.
PS: You can hire me on an hourly basis if you want to keep hacking away at the official C5 option.