Bakery: Small Shop Module (ORIGINAL TOPIC)

freeSbee

@cchhita
Hi cchhita
Sorry, I did not catch it. Where do you want to limit the lenght? In the backend or the frontend? Please be more detailed...


@klok_pm
Hi klok_pm
Thanks for the hint!
This only makes troubles if your php.ini directive short_open_tag is set to "0", default is "1". Anyway, I will fix it in the next version.

Regards Christoph

klok_pm

Let me post something to the forum for the first time. I just discovered WB since 2 months and i am very amazed by its simplicitiy.

About bakery. Just noticed a small bug in the latest release 1.3.3.

in modify_page_settings.php  line 147

<input type="text" name="items_per_page" style="width: 35px" value="<? echo $fetch_content['items_per_page']; ?>" /> 0 = <?php echo $TEXT['UNLIMITED']; ?>        </td>

needs to be changed to:

<input type="text" name="items_per_page" style="width: 35px" value="<?php echo $fetch_content['items_per_page']; ?>" /> 0 = <?php echo $TEXT['UNLIMITED']; ?>        </td>

The opening tag for PHP was not correctly written. It was giving errors with me.

Can this be included in the next release? Thanks

cchhita

Hi There!
Great plugin, it works fantastic.

Can someone please tell me if it is possible to set the length of characters in the short description?
I.e. when viewed in the category layout, I want all descriptions to be the same length, so all product blocks are the same size.

I looked in the forum, but cannot find anything there.

Thanks

snark

#431
ggggggggggggaaaaarreatttt!!!!


I hope you will make this a standard feature for the next version


freeSbee

@snark
I've modified one for you...

WYSIWYG editor for item brief and item full description

Replace the files modify_item.php and save_item.php by the attached ones and you will get an "Add/Modify Item"-Page with 2 WYSIWYG editors, one for the item brief description and another one for the item full description. Requires Bakery v1.3 or later.

Christoph

[gelöscht durch Administrator]

snark

I tried that but no matter what I try, I the page won't load.. do you happen to have a 'modify_item.php with those extra's' lying around? ...


freeSbee

Hi snark

Quote from: snark on June 22, 2009, 10:43:20 AM
is it possible to have a wysiwyg field for the short description so we can style this piece of text to our need/liking
Yes, you can do it quite simply. Open the file modify_item.php and locate the textarea name="description".
Use the wb function show_wysiwyg_editor() and implement it as it is done for the full_desc some lines below.

Regards Christoph

snark

is it possible to have a wysiwyg field for the short description so we can style this piece of text to our need/liking

freeSbee

#426

New Version of Bakery:

VERSION 1.3.3 (06/19/2009)


VERSION HISTORY

  • When upgrading the db field lightbox2 is now added correctly (reported by snark)


DOWNLOAD
Download the zip file from the Bakery website:
http://www.bakery-shop.ch/#download


UPGRADE NOTES
Not all changes will be done automatically by the upgrade script when upgrading from a version prior v1.3 to v1.3.3. Still there will be some adaptations you have to do manually:

  • Before upgrading make a backup of at least the /media/bakery/ directory. You will have to reupload ALL item images using the Bakery backend.
  • Alternatively you can move image files manually using ftp. First make a directory structure like this:
    /media/bakery/thumbs/
    /media/bakery/images/

    Then add a directory for every item, eg.:
    /media/bakery/thumbs/item1/
    /media/bakery/images/item1/
    Move your image respectively thumb files to the corresponding directory.
    Use speaking image file names since they are used for the image <alt> and <title> tag and shown as the Lightbox2 caption. Underscores are replaced by spaces automatically.
    The item images and thumbs will be loaded automatically by Bakery.
  • Modify the item templates. Use the vars [THUMB], [THUMBS], [IMAGE] AND [IMAGES] to display images. The inserted images will be linked to the detail page or to the Lightbox2 depending on your page settings. So there is no more need to do this in your template.
    • [IMAGE] = Main item image - only displayed if selected at section "2. Product Images" of the "Add/modify item" page
    • [IMAGES] = All item images except for the item main image.
    • [THUMB] = Thumbnail of the main item image - only displayed if selected at section "2. Product Images" of the "Add/modify item" page
    • [THUMBS] = All thumbnails of the item images except for the item main image.


PLEASE NOTE

  • Bakery 1.3.3 provides new features (see version history above) like multiple item images or Lightbox2. The way how Bakery handles and stores images is changed basically. Please read the "Upgrade Notes" above.


Christoph


freeSbee

Hi snark

Quote from: snark on June 19, 2009, 01:53:56 PM
Unknown column 'lightbox2' in 'field list'
Did you upgrade from v1.0 to v1.3?
Then have a look at your db table "mod_bakery_page_settings". Probably the field "lightbox2" is missing due to a bug in the upgrade script.
You can add it manually. Run the SQL code below using phpMyAdmin or whatever you are using (replace TABLEPREFIX by your table prefix):
ALTER TABLE `TABLEPREFIXmod_bakery_page_settings` ADD `lightbox2` VARCHAR(10) NOT NULL DEFAULT 'detail' AFTER `resize`

Regards Christoph


snark

when changing the page settings ans I push save I get:

Unknown column 'lightbox2' in 'field list'

anyone knows how to solve this...

the lightbox script isn't working either

ghost06

someone can help me?

as I can modify " Shop Country: " and " Shop State: " for l' Italy?  :oops:

thanks

freeSbee

Hi snark
Quote from: snark on June 16, 2009, 10:31:37 PM
can you tell us what we can expect in the near future
Let's see what the future will bring...
But: Bakery is a small shop and was never intended to be developed thus far. There are plenty of excellent, full featured e-commerce solutions available. Adding more and more features increases complexity of the software but also for the administrators... One of the main thing of WB is its simplicity!
http://en.wikipedia.org/wiki/KISS_principle

Regards Christoph

snark

as you are clearly on a roll these days

can you tell us what we can expect in the near future,

I would very much like a function to display 'on sale' items or maybe the obtion to choose between imageflow and lightbox for the images...

anyway, good to see that this module is becoming somewhat more mature


freeSbee

#419

New Version of Bakery:

VERSION 1.3.2 alpha (06/16/2009)


VERSION HISTORY

  • The image file name is now used for the image <alt> and <title> tag and is shown as the Lightbox2 caption (suggested by snark)
  • Bugfix: Includ missing language file in save_items.php


NEW: IMAGE TITLE AND LIGHTBOX CAPTION
Use speaking image file names since they are now used for the image <alt> and <title> tag and shown as the Lightbox2 caption. Underscores are replaced by spaces automatically.


DOWNLOAD
Download the attached zip file from the bottom of this post.


UPGRADE NOTES
Not all changes will be done automatically by the upgrade script when upgrading from a version prior v1.3 to v1.3.2. Still there will be some adaptations you have to do manually:

  • Before upgrading make a backup of at least the /media/bakery/ directory. You will have to reupload ALL item images using the Bakery backend.
  • Alternatively you can move image files manually using ftp. First make a directory structure like this:
    /media/bakery/thumbs/
    /media/bakery/images/

    Then add a directory for every item, eg.:
    /media/bakery/thumbs/item1/
    /media/bakery/images/item1/
    Move your image respectively thumb files to the corresponding directory.
    Use speaking image file names since they are used for the image <alt> and <title> tag and shown as the Lightbox2 caption. Underscores are replaced by spaces automatically.
    The item images and thumbs will be loaded automatically by Bakery.
  • Modify the item templates. Use the vars [THUMB], [THUMBS], [IMAGE] AND [IMAGES] to display images. The inserted images will be linked to the detail page or to the Lightbox2 depending on your page settings. So there is no more need to do this in your template.
    • [IMAGE] = Main item image - only displayed if selected at section "2. Product Images" of the "Add/modify item" page
    • [IMAGES] = All item images except for the item main image.
    • [THUMB] = Thumbnail of the main item image - only displayed if selected at section "2. Product Images" of the "Add/modify item" page
    • [THUMBS] = All thumbnails of the item images except for the item main image.


PLEASE NOTE

  • Bakery v1.3.2 is alpha. Do not use with productive shops.
  • Please give feedback in this thread.
  • Bakery 1.3.2 provides new features (see version history above) like multiple item images. The way how Bakery handles and stores images is changed basically. Please read the "Upgrade Notes" above.


DOWNLOAD REMOVED
Please download the latest version from the Bakery Website.


Christoph

Boudi

@ Snark,

Quotefilename as lightbox description would be nice...

When you give the image a name, let's say Home.jpg then the title in the Lightbox will be "Home".

@Christoph,

- Image handling works fine now! Thnq.
- Extra field handling and stock control: my failure, I had to check the Bakery website before posting the thread. Both work like a charm.

I will test the shop within the coming days.

Greetz,
Boudi
...:: Bake the Unbakable ::...

snark

filename as lightbox description would be nice...

now it says image 1 of 3 or something like that



freeSbee

#416

New Version of Bakery:

VERSION 1.3.1 alpha (06/15/2009)


VERSION HISTORY

  • Bugfix: Added missing code to create the /media/bakery/ directory (reported by Boudi)


DOWNLOAD
Download the attached zip file from the bottom of this post.


UPGRADE NOTES
Not all changes will be done automatically by the upgrade script when upgrading from a version below v1.3 to v1.3.1. Still there will be some adaptations you have to do manually:

  • Before upgrading make a backup of at least the /media/bakery/ directory. You will have to reupload ALL item images using the Bakery backend.
  • Alternatively you can move image files manually using ftp. First make a directory structure like this:
    /media/bakery/thumbs/
    /media/bakery/images/

    Then add a directory for every item, eg.:
    /media/bakery/thumbs/item1/
    /media/bakery/images/item1/
    Move your image respectively thumb files to the corresponding directory. They will be loaded automatically by Bakery.
  • Modify the item templates. Use the vars [THUMB], [THUMBS], [IMAGE] AND [IMAGES] to display images. The inserted images will be linked to the detail page or to the Lightbox2 depending on your page settings. So there is no more need to do this in your template.
    • [IMAGE] = Main item image - only displayed if selected at section "2. Product Images" of the "Add/modify item" page
    • [IMAGES] = All item images except for the item main image.
    • [THUMB] = Thumbnail of the main item image - only displayed if selected at section "2. Product Images" of the "Add/modify item" page.
    • [THUMBS] = All thumbnails of the item images except for the item main image.


PLEASE NOTE

  • Bakery v1.3.1 is alpha. Do not use with productive shops.
  • Please give feedback in this thread.
  • Bakery 1.3.1 provides new features (see version history above) like multiple item images. The way how Bakery handles and stores images is changed basically. Please read the "Upgrade Notes" above.


DOWNLOAD REMOVED
Please download the latest version from the Bakery Website.


Christoph

freeSbee

@snark, @erpe, @ Boudi
Thanks a lot for testing. I fixed the bug. Please see next post.

snark

#414
same here, fresh installation

but I made the imagefolders manually and now it works

just create a folder bakery in media with two subfolders ( images and thumbs)... make em writeble and the itemsfolders are being made correctly

this is great!


erpe0812

Hi Christoph

Quote
1) Cannot upload the images. It says after upload: successfull! but when returning to the shop there are no images uploaded. Besides that you don't see the images in the shop.

I can confirm this, the same happens with my bakery installation.

rgds

erpe

freeSbee

Hi Boudi

Thanks for testing!
Quote from: Boudi on June 15, 2009, 10:09:02 AM
1) Cannot upload the images. It says after upload: successfull! but when returning to the shop there are no images uploaded. Besides that you don't see the images in the shop.
There's no difference if I turn the auto resizer off/on and or If I want to upload more images at once.
I can not reproduce this - works fine on my installations. Can anybody else? Please post!
Boudi, please first check the Bakery "Modify/Delete Product" > "2. Product Images" for images,
then second check the
/media/bakery/thumbs/item#/
/media/bakery/images/item#/

directories using either ftp or the wb "Media" > "Browse Media" page for image files.

Quote from: Boudi on June 15, 2009, 10:09:02 AM
2) The free defined textfields do not show up in the shop.
The vars are not added to the template by default:
http://www.bakery-shop.ch/#definable_fields

Quote from: Boudi on June 15, 2009, 10:09:02 AM
3) The stock already reduces before the client did the checkout. So even with a cancellation the stock reduces
When a customer adds a certain number of items to his cart, the shop stock will be reduced by the same quantity.
If a customer cancels his order the ordered items will be put back to stock immediately.
If a customer does not submit his order, the ordered items will be put back to stock and the order will be deleted at least 1 hour after the customers first call of the Bakery cart.
http://www.bakery-shop.ch/#stock_administration


Regards Christoph

Boudi

#411
Great to see improvement!!

First errors I noticed on a fresh install of Bakery 1.3 and WB 2.7:

1) Cannot upload the images. It says after upload: successfull! but when returning to the shop there are no images uploaded. Besides that you don't see the images in the shop.

There's no difference if I turn the auto resizer off/on and or If I want to upload more images at once.

The image itself is just a normal .jpg with standard measures.

2) The free defined textfields do not show up in the shop.

3) The stock already reduces before the client did the checkout. So even with a cancellation the stock reduces

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