WebsiteBaker Support (2.8.x) > Bakery Shop

Bakery: Small Shop Module (ORIGINAL TOPIC)

<< < (98/167) > >>

zarathustra.at:
I think this has to do with allowed special characters - you have to define which special characters are allowed:

(in your case i suppose) in file bakery/languages/SE.php

    $MOD_BAKERY['ADD_REGEXP_CHARS'] = 'ÄÖÜäöüß';

make sure the file is encoded the same as your WB installation.

Hope this helps!

neilrees:
Hi everyone

This is probably a long shot, but does anyone know how to set a 'minimum order' in Bakery. I need to set a £150 minimum order made up of any combination of around 15 products (i.e. could be one of each or 10 of one product) but havent been able to find any info on this, any help would be really gratefully received!!  :-)

Thanks in advance

N

masarin:

--- Quote from: masarin on August 02, 2009, 04:35:56 PM ---Hi

Need some directions about how to create (translate and save) language files.

It's the "Payment Methods" -files that are bugging me. The standard Bakery language file works both ways described below.

If I upload the files with Swedish ÅÄÖåöä they get to look strange in the e-mails that are sent out to customers and shop owners.

If I upload the files with the HTML equivalents for ÅÄÖåäö (&aring; &auml; etc) Bakery stops working and It gets impossible to add any item to the cart and I get the error:
Not Found
The requested URL /musite/pages.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I have saved all files in utf-8

Regards masarin

--- End quote ---

It seems that there's only the email part of the Payment Methods" -files that doesn't work properly with special characters.
I tried to copy the email text into the backend and now it works all right.

Still haven't figured out if theres something wrong with my translated files.

I will attach the SE language files both with the special characters as is (ÅÄÖåäö) and with the HTML equivalents and maybe someone can have a look and save them in the right format.

/masarin

[gelöscht durch Administrator]

masarin:

--- Quote from: zarathustra.at on August 03, 2009, 10:04:38 AM ---I think this has to do with allowed special characters - you have to define which special characters are allowed:

(in your case i suppose) in file bakery/languages/SE.php

    $MOD_BAKERY['ADD_REGEXP_CHARS'] = 'ÄÖÜäöüß';

make sure the file is encoded the same as your WB installation.

Hope this helps!

--- End quote ---

Thank you for your answer.
I have tried this but still no go.
Solved it by copying the Payment Method emails directly into the backend edit aria.

pctechhelp:
 :mrgreen:Hi guys im new to WebsiteBaker just want to ask about the shop module on how to update the price for my shopping cart

example is i bought 2  mouse, price for $100 each   and shipping is $100each total total is $400

Shop module output:
                  Quantity             Price          Shipping          Total
mouse            2                    100             100                400

what i want to happen
                  Quantity            Price            Shipping         Total
mouse             2                   200              200                400

my problem is i don;t know what variable that was used and where to put it exactly for price and shipping
shippingsum=shippingprice&quantity
pricesum=itemprice*quantity

Please enlighten me  :-(

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version