WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Help with form - no select of country possible
  • Print
Pages: [1]   Go Down

Author Topic: Help with form - no select of country possible  (Read 6841 times)

Offline mgeene

  • Posts: 148
Help with form - no select of country possible
« 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.
Logged

jacobi22

  • Guest
Re: Help with form - no select of country possible
« Reply #1 on: March 28, 2014, 06:45:34 PM »
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

Logged

Offline mgeene

  • Posts: 148
Re: Help with form - no select of country possible
« Reply #2 on: March 28, 2014, 07:14:59 PM »
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?
Logged

Offline mgeene

  • Posts: 148
Re: Help with form - no select of country possible
« Reply #3 on: March 28, 2014, 09:20:50 PM »
YEAH

I find the problem, in the template i had this:

Code: [Select]
<?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!!!!!!!!!
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Help with form - no select of country possible
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2