WebsiteBaker Support (2.8.x) > Bakery Shop
Bakery: Small Shop Module (ORIGINAL TOPIC)
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/ ?
--- End quote ---
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:
--- Code: ---'/bakery/'.page_filename($title)
--- End code ---
and replace it by
--- Code: ---'/shop/'.page_filename($title)
--- End code ---
2. Localise the code below (3 times) at the save_item.php file:
--- Code: ---WB_PATH.PAGES_DIRECTORY.'/bakery/'
--- End code ---
and replace it by
--- Code: ---WB_PATH.PAGES_DIRECTORY.'/shop/'
--- End code ---
--- 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] ?
--- End quote ---
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:
--- Code: ---// Make list of ordered items for e-mail
--- End code ---
Right after this comment you can add the required information using the appropriate vars like $items[$i]['description'].
Please give feedback!
Regards Christoph
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.
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))??
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.
--- End quote ---
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
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))??
--- End quote ---
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
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version