Bakery: Small Shop Module (ORIGINAL TOPIC)

zirzy

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!

Hi guys!
I just dont get this.. I have translated bakery to finnish but the customer ordering form don´t understand åäö`s. Wiew.php has the // Check the textfields codes.. Should I put åäö´s there? I tried this also ($MOD_BAKERY['ADD_REGEXP_CHARS'] = 'ÄÖÜäöüß'; ) on few ways, but it did not work at all. Im doin somethin wrong but what?

Ihave test server on utf-8 and my customers server where shuold be the final version on iso-8859-1.

Is there someone who can help me?

THANKS!


eltremolo

Hi
I need an upload function/field on the article detail page for customers  to upload a picture. should be sent e.g. with the order confirmation mail.
Any idea or tipps???

Stefek

#557
Quote from: Yippeekayaye on November 10, 2009, 04:56:52 PM
For the next update...

I noticed a couple styles missing from backend.css

.row_a {    background-color:  #FFFFFF;}
.row_b {    background-color:  #E6EBF4;}

This color codes the rows in the backend
Hello.
Normally this Classes are defined in the Backend Theme.
You can go to admin>>settings>>general settings >> Backend-Theme and there you can switch the backend theme to another one.
Is there any difference?

Regards,
Stefek
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Yippeekayaye

For the next update...

I noticed a couple styles missing from backend.css

.row_a {    background-color:  #FFFFFF;}
.row_b {    background-color:  #E6EBF4;}

This color codes the rows in the backend

freeSbee

Hi Frans

Quote from: youecho on November 08, 2009, 06:38:36 PM
For example: i create an item "x" with a quantity of 7 pieces, and select the option "size" S, M, L.
How can i select that i have for example 2 items "x" size S, 1 item "x" size M and 4 items "x" size L?
Now it only gives the total quantity of the item, but when for example size M is sold out, you can still order it..

Indeed, this is a known but still unsolved problem of Bakery.

Solving it for one option (eg. color) with 4 or 5 attributes (eg. red, blue, green...) would be easy. But what about 20 items with 2 or 3 options and 4 attributes each? Just calculate! And 20 items are not that much in a shop.

It is getting rather complicated. Therefor Bakery is still just taking account of items not regarding any options nor attributes.

Any suggestions on this subject are welcome!

Regards Christoph

youecho

Hi!

I have another question about the item options:

For example: i create an item "x" with a quantity of 7 pieces, and select the option "size" S, M, L.
How can i select that i have for example 2 items "x" size S, 1 item "x" size M and 4 items "x" size L?
Now it only gives the total quantity of the item, but when for example size M is sold out, you can still order it..

I hope you understand the problem, and more important, perhaps can give me a solution :)
Best regards,
Frans van Gastel / youecho

gilly

does Bakery have any issues with the Aggregator module?

I have a site with the following setup:

online store (aggregator page)
- specials (aggregator page)
    - product page 1 (bakery page - no products)
    - product page 2 (bakery page - no products)
- current season (aggregator page)
    - product page 3 (bakery page - has products)
    - product page 4 (bakery page - has products)

Now the aggregator on the specials page works fine - it aggregates the product page 1 and 2. But the current season page does not work properly. Looking through the html that is output, there are links for the aggregated pages, but nothing inside the a tags, so the links are invisible.

It seems as soon as you add a product to one of the bakery pages, the aggregator stops working.

Any ideas why?

freeSbee

Hi Boudi

Quote from: Boudi on November 03, 2009, 01:50:57 PM
The problem that they face is the order of these options. The order is alphabetical so you get L,M,S,XL,XXL
Can this be re-arranged to the correct option list settings?

Bakery does not support ordering of option attributes by default.
But try this workarround:

NOTE:
These modifications will affect ALL Bakery option attributes, not only the ones given in the example below. All option attributes will be ordered the same as the attribute_id.


1.
First go to the mod_bakery_attributes table in your database and reorder the attribute_id field in your own way.

For example:


attribute_id        option_id         attribute_name

     6                      2                        XXL
     7                      2                        L
     8                      2                        S
     9                      2                        XL
   10                      2                        M



Change db table to, eg.:


attribute_id          option_id         attribute_name

    10                        2                          XXL
      8                        2                          L
      6                        2                          S
      9                        2                          XL
      7                        2                          M



2.
Open the files view_overview.php and view_item.php. If you need the same ordering in the backend too, open modify_item.php and modify_options.php as well. Replace the code (all in all 5 times)
ORDER BY o.option_name, a.attribute_name ASC

by
ORDER BY a.attribute_id ASC


Regards Christoph

Boudi

Hi,

A client of me has several bakery shops on their website. They do a lot in clothing. They have an optionlist in which customers can choose their size. Eg: S,M,L,XL,XXL

The problem that they face is the order of these options. The order is alphabetical so you get L,M,S,XL,XXL

Can this be re-arranged to the correct option list settings?

Note: I found in this topic another issue about this, but that was about figures.

Any help would be appreciated.

Greetz,

Boudi
...:: Bake the Unbakable ::...

kweitzel

Quote from: doughead on November 03, 2009, 04:46:22 AM
Hey all, I have a product that I am selling on my website....

I merged you in here because I think it is the right thread.

cheers

Klaus

doughead

Hey all, I have a product that I am selling on my website.  It can come in a variety of colors and textures, each for different parts of the product.  I would like to have 4 different pallets of colours/textures, and then a person can select from the pallets, mix and match, and a picture of the product would change.  Due to the number of combinations, it would be a real pain to have a picture for each one.

Any suggestion on how I can approach doing this?


thanks

freeSbee

Hi KEnik

Quote from: KEnik on October 27, 2009, 09:30:03 AM
I have problems witjh tax for shiping. I need bank acount payment  40 and invoice 80.
In Bakery it is not possible to set different shipping coasts for various payment methods.

Quote from: KEnik on October 27, 2009, 10:51:03 AM
In my Cart canot delete items by click to delete image..
http://www.bakery-shop.ch/#js

Regards Christoph

KEnik

In my Cart canot delete items by click to delete image..
http://www.steviesladka.cz/eshop.php

Thank you in advance for help.

KEnik

#546
Hello,
I have problems witjh tax for shiping. I need bank acount payment  40 and invoice 80.
Before I start fix up to my way I ask here  I somebody check this before me..
This must be a check box in Shop Cart whitch add + cost of Invoice shipping

I Have WB 2.7 Bakery 1.41

Thank you in advance


freeSbee

Hi Frans

Quote from: youecho on October 26, 2009, 02:02:54 PM
i solved problem 2. i installed the droplets module and inserted the modbakerycartlink droplet. first it gave an error in the return value, but after i changed ERROR in Droplet "ModBakeryCartLink" into ERROR in Droplet ModBakeryCartLink, it works like a charm :), even in WB 2.7..
Thanks for reporting the bug! I fixed it on the droplets page.

Regards Christoph

youecho

hi christoph,

thanx again for your reply.
i solved problem 2. i installed the droplets module and inserted the modbakerycartlink droplet. first it gave an error in the return value, but after i changed ERROR in Droplet "ModBakeryCartLink" into ERROR in Droplet ModBakeryCartLink, it works like a charm :), even in WB 2.7..

best regards,
frans van gastel / youecho

freeSbee

Hi Frans

Quote from: youecho on October 26, 2009, 11:18:37 AM
problem 2 still not fixed. in my example page www.karinruiter.nl/wb/ i added the link option <a href="[SHOP_URL]?view_cart=yes">[VIEW_CART]</a> at the footer, but the text is not replaced properly and therefore the link doesnt work. if i place the same link in the header, everything is ok.. where can i solve this problem?
The help page at "Page Settings" > "Help" provides a list of all placeholders like [SHOP_URL] and where they can be used. As you can see the [SHOP_URL] and [VIEW_CART] placeholders are not supported in the PF (= Page Footer).

As a workaround you can use the [[ModBakeryCartLink]] droplet provided that you are using WB 2.8 or later.
Read more about "droplets"
Get the droplet ModBakeryCartLink at AMASP

Regards Christoph

youecho

hi christoph,
thanx a lot for your quick reply.

problem 1 is solved (i didnt see the "+" or "-" at the article options..

problem 2 still not fixed. in my example page www.karinruiter.nl/wb/ i added the link option <a href="[SHOP_URL]?view_cart=yes">[VIEW_CART]</a> at the footer, but the text is not replaced properly and therefore the link doesnt work. if i place the same link in the header, everything is ok.. where can i solve this problem?

thanks in advance!
best regards,
frans van gastel / youecho

freeSbee

Hi frans

Quote from: youecho on October 25, 2009, 11:00:06 AM
- if i add article options (like size, color etc) to an article, then the price is set to "0" if i put the article in the shopping cart. if i remove the article options it works fine,
Keep in mind that an option price left blank or set to "= 0.00" will overwrite the item price and set it to 0.00 on account of the equals sign.
In this case set the option price to "+ 0.00" or "- 0.00".

Quote from: youecho on October 25, 2009, 11:00:06 AM
- if i move the shopping cart button from the header to the footer it doesnt work properly anymore. what is the right way to move items at the page settings page?
First make sure your html code is not lacking.
Second there are different ways to call the cart. These code examples are only for use within the Bakery page setting templates:
   
As a link:
<a href="[SHOP_URL]?view_cart=yes">[VIEW_CART]</a>

As a button (requires JS):
<input type="button" name="view_cart" value="[VIEW_CART]" class="mod_bakery_bt_cart_f" onclick="javascript: window.location = '[SHOP_URL]?view_cart=yes';" />
   
As a submit button:
<form action="[SHOP_URL]" method="post">
<input type="submit" name="view_cart" value="[VIEW_CART]" class="mod_bakery_bt_cart_f" />
</form>



Quote from: youecho on October 25, 2009, 11:00:06 AM
ps: check the example i'm working on right now: www.karinruiter.nl/wb/
There is no cart button in the footer of this page... ?

Regards Christoph

youecho

hi!
thanks a lot for the new bakery version!

i face 2 problems now:

- if i add article options (like size, color etc) to an article, then the price is set to "0" if i put the article in the shopping cart. if i remove the article options it works fine,,

- if i move the shopping cart button from the header to the footer it doesnt work properly anymore. what is the right way to move items at the page settings page?

best, frans / youecho
ps: check the example i'm working on right now: www.karinruiter.nl/wb/

daydreamer

Firstly thanks for the new version your hard work is much appreciated, I have asked before if anyone can make a payment module for www.cardsave.net they are one the biggest credit card payment companies in the UK so I'm sure it would help towards more people wanting to use Bakery.
I am willing to put a little money into it if it helps

Thankyou

freeSbee


New Version of Bakery:

VERSION 1.4.0 (20/10/2009)


VERSION HISTORY
Bakery 1.4.0 version history

KNOW HOW
Further information can be found on the Bakery Website.

DOWNLOAD
Download from the Bakery Website.

PLEASE NOTE
Please read the upgrade notes when upgrading to version 1.4.0.


Christoph

freeSbee


Short cuts to the Bakery backend on the admin home page
(WebsiteBaker v2.8 only, for WebsiteBaker v2.7 see this post)

Feature request
Quote from: mcollins on September 08, 2009, 03:21:50 AM
Or even on the admin home page, a new small button called bakery, and in that section you will find those small settings.
And this gives an impression of how it will look like (image at the bottom of the post):
https://forum.websitebaker.org/index.php/topic,7834.msg97354.html#msg97354

Step by step...
If you like to have short cuts to the Bakery backend on the admin home page, make some modifications to the WebsiteBaker core file templates/your_theme/templates/start.htt, where /your_theme/ is the directory of the active backend theme. Select backend themes in the WebsiteBaker backend > "General Settings" > "Default Settings" > "Backend-Theme".

1. Replace in the code below all page_id=XXX by one of your Bakery page ids, eg. page_id=4
       <table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_ADDONS};">
       <tr>
           <td class="graphic" align="center" valign="middle" rowspan="2">
               <a href="{WB_URL}/admin/pages/modify.php?page_id=7">
                   <img src="{THEME_URL}/icons/mod_bakery.png" alt="Bakery Shop Tools" />
               </a>
           </td>
           <td class="title">
               <a href="{WB_URL}/admin/pages/modify.php?page_id=7">Bakery Shop Tools</a>
           </td>
       </tr>
       <tr>
           <td class="description">
               <a href="{WB_URL}/modules/bakery/modify_orders.php?page_id=7">Order Admin</a>,
               <a href="{WB_URL}/modules/bakery/stock.php?page_id=7">Stock Admin</a><br />
               <a href="{WB_URL}/modules/bakery/modify_general_settings.php?page_id=7">General Settings</a>,
               <a href="{WB_URL}/modules/bakery/modify_payment_methods.php?page_id=7">Payment Settings</a>
           </td>
       </tr>
       </table>


2. Locate the html code below at the very bottom of the WebsiteBaker core file templates/your_theme/templates/start.htt.
   </td>
</tr>
</table>

<!-- END main_block -->


3. Add the code of the complete html table of step #1 right before the code of step #2.

4. Add the attached mod_bakery.png icon to the templates/your_theme/icons/ directory or make a 50x50px png icon yourself.

5. If you need the short cut in other backend themes too, repeat step #1 to #4 for other theme directories.


Regards Christoph

[gelöscht durch Administrator]

mcollins

Hi Christoph,
Sorry for the delayed response on this, but your reference of WebsiteBaker core file admin/start/template.html. does not exist. I have installed 1.8.
The only thing in admin/start is index.php.

Inside there is // Insert section names and descriptions
$template->set_var(array(
                               'PAGES' => $MENU['PAGES'],
                               'MEDIA' => $MENU['MEDIA'],
                               'ADDONS' => $MENU['ADDONS'],
                               'ACCESS' => $MENU['ACCESS'],
                               'PREFERENCES' => $MENU['PREFERENCES'],
                               'SETTINGS' => $MENU['SETTINGS'],
                               'ADMINTOOLS' => $MENU['ADMINTOOLS'],
                               'HOME_OVERVIEW' => $OVERVIEW['START'],
                               'PAGES_OVERVIEW' => $OVERVIEW['PAGES'],
                               'MEDIA_OVERVIEW' => $OVERVIEW['MEDIA'],
                               'ADDONS_OVERVIEW' => $addons_overview,
                               'ACCESS_OVERVIEW' => $access_overview,
                               'PREFERENCES_OVERVIEW' => $OVERVIEW['PREFERENCES'],
                               'SETTINGS_OVERVIEW' => $OVERVIEW['SETTINGS'],
                               'ADMINTOOLS_OVERVIEW' => $OVERVIEW['ADMINTOOLS']
                               )
                       );

// Parse template object
$template->parse('main', 'main_block', false);
$template->pparse('output', 'page');


Perhaps I am missing something in your context of step by step description?

freeSbee

Hi Myles

Quote from: mylesk42 on October 07, 2009, 03:49:49 PM
I'd like to know if the Bakery module accepts products for download.
No, Bakery does not support selling of digital goods. But have a look at this thread:
https://forum.websitebaker.org/index.php/topic,14724.msg93071.html#msg93071

Regards Christoph