WebsiteBaker Community Forum
WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: mgeene on March 28, 2014, 02:48:44 PM
-
Hello,
I've Bakery 1.7.0 installed, and so far everything works, except the country setting, in the backend of the shop page under "General Settings" I have selected "Netherlands" in the dropdown of "Shop country." The "Shop stat" field will automatically gone gray. But the problem is when you are going to order an article, then there is a drop in the form of "Country" but there is nothing in it, so there is nothing to select. And then I get error, view_summary.php on line 220 and view_summary.php on line 724 there must be a value filled in. Anyone have an idea how to solve this?
Thanks for your comment.
-
bakery separates countrys and states
countrys are the countrys around the world like russia, mexico, usa, germany etc
states are the areas in this countrys like alaska, alabama, kansas, texas in usa
thats why your states filed in the bakery backend goes to grey, nederlands has no states (in the bakery state list)
if this state field in your form is the problem, go to your bakery backend -> general settings and search for a control box called disable states in form (or something like that - i have to install bakery 1.7 to check this)
but if you mean the country select in the form for the customer country (like usa, russia etc) and this select is empty, somethink goes wrong in your bakery
-
Thanks for your reply.
The problem is the country select in the customer form is empty, but the strange thing is dat i installed it on another domain and this works fine. So there is possible an conflict between cms and bakery in the languages? Someone a idea?
-
YEAH
I find the problem, in the template i had this:
<?php
ob_start();
page_content(1);
$page_content_1 = ob_get_contents();
ob_end_clean();
if(defined('TOPIC_BLOCK2') AND TOPIC_BLOCK2 != '') {
$page_content_2 = TOPIC_BLOCK2;
} else {
ob_start();
page_content(2);
$page_content_2 = ob_get_contents();
ob_end_clean();
}
?>
i removed this and the problem was solved!!!!!!!!!