aclema Posted September 23, 2005 Posted September 23, 2005 I installed the SPCC contribution for special pricing per category. Everything works fine when you are logged in with an account but when you are not logged in you get the following error. I don't want people to have to create an account. Can someone tell me how to fix this? Fatal error: Call to undefined function: get_category() in /hsphere/local/home/aclema/affordableparties.com/catalog/includes/classes/shopping_cart.php on line 89 Quote
Jan Zonjee Posted September 23, 2005 Posted September 23, 2005 Fatal error: Call to undefined function: get_category() in /hsphere/local/home/aclema/affordableparties.com/catalog/includes/classes/shopping_cart.php on line 89<{POST_SNAPBACK}> You get that error because you didn't add this piece of code to the class PriceFormatter.php **ADD** // BOF Price Break for SPPC mod, price break per category function get_category() { return $this->category; } // EOF Price Break for SPPC mod, price break per category This comes from the file price_break_per_category_instr.txt Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.