WebsiteBaker Support (2.8.x) > Bakery Shop

Bakery: Small Shop Module (ORIGINAL TOPIC)

<< < (42/167) > >>

freeSbee:

--- Quote from: Luckyluke on August 03, 2008, 10:00:02 PM ---Is it possible to have  2 different shops on 1 site? Of course, on other pages but within 1 site.

--- End quote ---

Hi Luc

Not by default.

Try this: Rename the module Bakery to another name, eg. first shop is called "bakery" and second shop you could call "bakery_1" or "bakery_fr" or whatever makes sense to you.
Keep in mind you have to rename the directory itself AND all module names in the code of ALL files where ever they occur!

Good luck!
Regards Christoph

Stefek:
[offtopic]

Hallo Christoph,

I created a banner for your module.
Maybe you like it.
If yes, please let me know so I can adjust it to your needs.

Best Regards,
Stefek

//Edit:
the second one (small) you can use for the beginning post in this thread if you like to.
[/offtopic]


[gelöscht durch Administrator]

Ruud:

--- Quote from: Stefek on August 14, 2008, 06:14:43 PM ---I created a banner for your module.

--- End quote ---

Cool!

Ruud

Pam1234:
Your module is wonderful. I should have simply posted that simple statement before I had any questions... because it can be discouraging to work so hard on something and then hear mostly about the problems. "Your cart is great, but it doesn't make coffee..."  :wink:

I hope you know that we are all very thankful. I believe every single person who has tried Bakery would agree... even though some, like me, have been silent... YOU ROCK!! I am amazed that you would spend so much time giving back to the community.

Enough gushing. So you knew it was coming; here's my question. I ship to US and international customers but am finding that the zip code field is always "required." A customer can't put anything in the field other than numbers so can't just type in "none" or leave it blank or whatever. I searched the view_form.php file but can't seem to grasp what is generating the error message. Can you steer me in the right direction? I'm not a PHP or Javascript coder.

Forgive me for not telling you prior to this what a great module you have freely provided for us. I simply love it.

Pam

freeSbee:

--- Quote from: Pam1234 on August 16, 2008, 07:22:14 PM ---I ship to US and international customers but am finding that the zip code field is always "required." A customer can't put anything in the field other than numbers so can't just type in "none" or leave it blank or whatever. I searched the view_form.php file but can't seem to grasp what is generating the error message. Can you steer me in the right direction?

--- End quote ---

Hi Pam

Thanks for all your encouraging words!

The file you are seeking for is called view.php.

Line 349 et sqq. check for blank fields. You could exclude the zip field by coding something like:
    if ($value == "" AND $field != "zip") {

Line 422 et sqq. check the zip code. Allowed are at least 4 and up to 10 chars a-z, A-Z, space, - (hyphen) and all digits 0-9, so "none" should be ok to enter.

Hope this helps!
Regards Christoph

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version