Bakery: Small Shop Module (ORIGINAL TOPIC)

ghost06

Quote from: freeSbee on September 02, 2009, 07:41:02 PM
Ciao ghost06

Quote from: ghost06 on September 02, 2009, 06:44:53 PM
I am making the translation in Italian
Great - grazie mille! Please post upon completion!

okkk  :wink:

Quote from: freeSbee on September 02, 2009, 07:41:02 PM
Quote from: ghost06 on September 02, 2009, 06:44:53 PM
I say that it is possible to add to a field tax identification number customer in the form address?
Not by default. You have to code the additional field yourself.

Regards Christoph

I am not thus great! :-D

someone can make it? in many countries the field is obligatory tax identification number in order to make a purchase. a lot important is a thing :wink:

freeSbee

Ciao ghost06

Quote from: ghost06 on September 02, 2009, 06:44:53 PM
I am making the translation in Italian
Great - grazie mille! Please post upon completion!

Quote from: ghost06 on September 02, 2009, 06:44:53 PM
I say that it is possible to add to a field tax identification number customer in the form address?
Not by default. You have to code the additional field yourself.

Regards Christoph

ghost06

hello to all,
I am making the translation in Italian :lol:,
I say that it is possible to add to a field tax identification number customer in the form address?

thanks

D. Peeters

Quote from: freeSbee on September 01, 2009, 10:15:23 AM
Probably most convenient solution for your needs is to prepopulate the form fields by hard coded values.

hmmm... for some reason it doesn't work.... any idea what I did wrong?

Quote from: freeSbee on September 01, 2009, 10:15:23 AM
For logged in customers Bakery tries to get their address data of a previous order to prepopulat the address fields.
   http://www.bakery-shop.ch/#customer_address_form
Requires all employees to have an account and to be logged in when ordering. After the first order Bakery will auto fill-out the address using the given addresses.

can i also put all data in the database as if they have already ordered? (order id's don't matter)
[/quote]


freeSbee

Hi Peeters

Quote from: Peeters on August 31, 2009, 06:40:43 PM
Is there a way by which I can auto fill-out the address form when someone is ordering (i'm modifying your shop module for businesses so all their employees can order stuff (all orders need to be delivered to one adress))??
Probably most convenient solution for your needs is to prepopulate the form fields by hard coded values.
Open the view_form.php file and go to the
// Make the form
and
// Make the shipping address form
comments.
Have a look at the arrays $cust_info and $ship_info. Redefine those two arrays and replace the values by your required ones.

Another possability might be this:
For logged in customers Bakery tries to get their address data of a previous order to prepopulat the address fields.
   http://www.bakery-shop.ch/#customer_address_form
Requires all employees to have an account and to be logged in when ordering. After the first order Bakery will auto fill-out the address using the given addresses.

Regards Christoph

freeSbee

Hi mcollins

Quote from: mcollins on August 31, 2009, 10:39:41 AM
Hi, sorry if this was asked before, but is it possible to hide the "EDIT CSS" & "PAGE SETTINGS" by user class.
You can display Bakery settings to WebsiteBaker admin only:
Login to the Bakery backend as admin with user id = 1 > "General Settings" > "Settings:" and activate "Display Settings to Admin (id = 1) only".
This will hide general and page settings, payment methods and css settings from all other users than the admin with user id = 1.

Regards Christoph

D. Peeters

Is there a way by which I can auto fill-out the address form when someone is ordering (i'm modifying your shop module for businesses so all their employees can order stuff (all orders need to be delivered to one adress))??

mcollins

Hi, sorry if this was asked before, but is it possible to hide the "EDIT CSS" & "PAGE SETTINGS" by user class. I have a helper that sets stuff up in the shop, and this helper will access this area. I would like to have it not seen, but seen by me.

Also something nice would be to have ( order admin, stock admin, general settings & payment settings) in the Admin-Tools area. Or even on the admin home page, a new small button called bakery, and in that section you will find those small settings.

I love the simplicity of this plugin, this is what has switched me over from using E107 to website baker. Very nice work on this, and thank you for all your hard work.

freeSbee

@haulakoski
Please search and read this thread befor posting.




@ vanbemmel
Quote from: vanbemmel on August 21, 2009, 02:59:06 PM
1. is it possible in the product detail page of Bakery to change the url /bakery/ to /shop/ ?
Try this (not tested):
Only apply to a new and clean (no items added) Bakery installation.

1. Localise the code below (2 times) at the save_item.php file:
'/bakery/'.page_filename($title)
and replace it by
'/shop/'.page_filename($title)

2. Localise the code below (3 times) at the save_item.php file:
WB_PATH.PAGES_DIRECTORY.'/bakery/'
and replace it by
WB_PATH.PAGES_DIRECTORY.'/shop/'


Quote from: vanbemmel on August 21, 2009, 02:59:06 PM
2. how can i display more information in the order mail then only the default information inside [ITEM_LIST]? 
For example i would like to add the title or description of the product.  Where can I change the content of [ITEM_LIST] ?
Try this (not tested):
1. At line about 52 of the view_summary.php file add the required fields like description and full_desc to the db query.

2. Localise the comment below (2 times) at the view_summary.php file:
// Make list of ordered items for e-mail
Right after this comment you can add the required information using the appropriate vars like $items[$i]['description'].

Please give feedback!

Regards Christoph

vanbemmel

Hello,

1. is it possible in the product detail page of Bakery to change the url /bakery/ to /shop/ ?
2. how can i display more information in the order mail then only the default information inside [ITEM_LIST]? 
For example i would like to add the title or description of the product.  Where can I change the content of [ITEM_LIST] ?

haulakoski

Hello everybody!

Have someone the WebsiteBaker Bakery -Swedish translation? Could somebody post it to henry.aulakoski(at)gmail.com

Cheers, HA

D. Peeters

Quote from: freeSbee on August 18, 2009, 10:47:47 AM
Hi Peeters

Quote from: Peeters on August 18, 2009, 10:37:52 AM
Is it possible to add a gift coupon function to this module??
Not by default. All features are listed at the >> Bakery website.

Regards Christoph

how could I add this extra feature?

freeSbee

Hi daydreamer

Quote from: daydreamer on August 19, 2009, 09:43:48 AM
Is there any way to add Sage Pay as additional payment gateway?
Yes, of course. Use the two resources below to add a new payment method plugin to Bakery:
   http://www.bakery-shop.ch/#payment_methods
   http://www.sagepay.com/developers/integration_manual/form_testing.asp

Regards Christoph

daydreamer

Is there any way to add Sage Pay as additional payment gateway?
http://www.sagepay.com/

freeSbee

Hi Peeters

Quote from: Peeters on August 18, 2009, 10:37:52 AM
Is it possible to add a gift coupon function to this module??
Not by default. All features are listed at the >> Bakery website.

Regards Christoph

D. Peeters

Is it possible to add a gift coupon function to this module??

freeSbee

@pctechhelp
Bakery makes use of the PHP mail() function (no SMTP).

Regards Chiristoph

pctechhelp

Thanks freesbee,

My SMTP is off in a free webhost , is that the reason i can forward email to the customer

just want to be sure
:-D

freeSbee

Hi pctechhelp

1. Open the files view_cart.php and view_summary.php.

2. Localize the code line (4 times)
$f_price = number_format($items[$i]['price'], 2, $setting_dec_point, $setting_thousands_sep);
and replace it by
$f_price = number_format($items[$i]['quantity'] * $items[$i]['price'], 2, $setting_dec_point, $setting_thousands_sep);

3. Localize the code line (2 times)
$f_shipping = number_format($items[$i]['shipping'], 2, $setting_dec_point, $setting_thousands_sep);
and replace it by
$f_shipping = number_format($items[$i]['quantity'] * $items[$i]['shipping'], 2, $setting_dec_point, $setting_thousands_sep);

Regards Christoph

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  :-(


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!

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.

masarin

#488
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 ÅÄÖåäö (å ä 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

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]

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

zarathustra.at

#486
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!

masarin

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 ÅÄÖåäö (å ä 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