Bakery: Small Shop Module (ORIGINAL TOPIC)

freeSbee

#409

New Version of Bakery:

VERSION 1.3 alpha (06/14/2009)


VERSION HISTORY

  • New feature to add multiple item images
  • New feature using Lightbox2 to show the item images
  • Changed and added new presettings of the thumbnail resize


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


UPGRADE NOTES
Not all changes will be done automatically when upgrading to v1.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/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 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 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 is alpha. Do not use with productive shops.
  • Please give feedback in this thread.
  • Bakery 1.3 provides new features (see version history above) like multiple item images. The way how Bakery handles and stores images is changed basically.


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


Christoph

freeSbee

Hi KEnik
Quote from: KEnik on June 03, 2009, 11:49:32 PM
How to change position Price / currency ( in Czech Republick is normally wrote "100 Kč")
Like:
[PRICE][CURRENCY]
Modify it in the product template:
Bakery backend > Page Settings > Layout Settings > Page (Product-Loop) AND Product (Footer)

Regards Christoph

KEnik

Bakery 1.0
How to change position Price / currency ( in Czech Republick is normally wrote "100 Kč")
Like:
[PRICE][CURRENCY]

on item page

I change add.php but nothing change on pages :(

http://www.josefvagner.cz/bakery/propiska-26.php?p=10

KEnik

Quote from: KEnik on May 17, 2009, 07:28:38 PM
:|

If I try buy something.
Then validate inserted Address atc.

I see City Olešná is not valid  ( Václav is a Valid !? "á" is ok ?!)

in bakery/language/CS.php  $MOD_BAKERY['ADD_REGEXP_CHARS'] = 'ěščřžýáíéůúĚŠČŘŽÝÁÍÉŮÚ';


Help delete (uncomment //)
in languagefile
line 380 - utf8_encode($MOD_BAKERY['ADD_REGEXP_CHARS']);

BTW:I use utf-8 on all pages and database

snark

#405
great to see the bakeryshop is being taken to higher levels

I would really love to have an option to include more pictures in de detail view of an item

something like the fancybraxbox (http://www.websitebakers.com/pages/modules/image-galleries/fancybraxbox.php) would be more than great.


evenly great would be to combine de multipage module by ruud with the bakery item, in that way the detailpages could  hold lots of specs in tables etc

I guess these options would make the bakery the best imaginable shop and also widely usable as productgallery, portfolio, etc etc


freeSbee

#404

New Version of Bakery:

VERSION 1.2 alpha (05/30/2009)


VERSION HISTORY

  • Bugfix: Turned include() path from relativ to absolute in order to prevent some php installation from including the wrong info.php file (reported by erpe)


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


PLEASE NOTE


* Short tutorial: Add support for Google Analytics
https://forum.websitebaker.org/index.php/topic,7834.msg86026.html#msg86026


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


Christoph



SlaY3R

Quote from: freeSbee on May 30, 2009, 02:11:25 PM
@ SlaY3R
Quote from: SlaY3R on May 30, 2009, 01:53:15 PM
ps. could it be that it was the return urls of the shops? cuz now i configured the return urls and can't get the bug back:\
Which return urls do you mean? The url set in the page settings or a return url of a payment gateway?
continue with shopping url

freeSbee

@ SlaY3R
Quote from: SlaY3R on May 30, 2009, 01:53:15 PM
ps. could it be that it was the return urls of the shops? cuz now i configured the return urls and can't get the bug back:\
Which return urls do you mean? The url set in the page settings or a return url of a payment gateway?

SlaY3R

Quote from: freeSbee on May 30, 2009, 01:43:58 PM
@SlaY3R
Quote from: SlaY3R on May 30, 2009, 11:42:42 AM
Also i watched the database (wbmod_bakery_order) @ the moment when he added the stuff to the basket.
and my stuff was replaced by his stuff.
SUPPLEMENT: Have you been logged in as the same user?

Regards, Christoph


Nope, me was loggedin as admin and he was anonymous.

ps. could it be that it was the return urls of the shops? cuz now i configured the return urls and can't get the bug back:\

freeSbee

@SlaY3R
Quote from: SlaY3R on May 30, 2009, 11:42:42 AM
Also i watched the database (wbmod_bakery_order) @ the moment when he added the stuff to the basket.
and my stuff was replaced by his stuff.
SUPPLEMENT: Have you been logged in as the same user?

Regards, Christoph


freeSbee

@SlaY3R
Quote from: SlaY3R on May 30, 2009, 11:42:42 AM
Also i watched the database (wbmod_bakery_order) @ the moment when he added the stuff to the basket.
and my stuff was replaced by his stuff.
I'm in serious doubt about because the first time the cart is called by a customer an order_id is saved in the session var.

Quote from: SlaY3R on May 30, 2009, 11:42:42 AM
If you want i could pm you my test inviroment?
Ok, I will try to highjack your order  '–)

Regards, Christoph


Argos

Quote from: snark on May 30, 2009, 12:17:43 PM
greeeeeeeeeeaaaaat to see an ideal method in bakery
YES, very nice indeed!! The other new features and bug fixes are great as well. Nice to see a shop module being developed further.
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
----------------------------------------------------------------
Please don't request personal support, use the forums!

snark

greeeeeeeeeeaaaaat to see an ideal method in bakery

I know about configuring iDeal for zencart and oscommerce and there are quite some steps to get it working.. is the new ideal feature for bakery coming with any kind of info on how to configure it?


SlaY3R

I'm normaly using firefox. but i asked a friend of my to fill something to his basket while i already got some things in my basket. Also i use more then 1 webshops on my site.

Also i watched the database (wbmod_bakery_order) @ the moment when he added the stuff to the basket.
and my stuff was replaced by his stuff.

If you want i could pm you my test inviroment?

Greets,

SlaY3R


freeSbee

Hi SlaY3R
Quote from: SlaY3R on May 30, 2009, 10:44:12 AM
Found a bug:
when one costumer adds someting to there busket and a other costumor adds something to. the busket of costumer 1 is deleted.
How did you check this? Please give some more details about your test environment / conditions.
Did you use different computers?
If you used one computer only, did you use different browsers?
If you used different browsers, have you been logged in as the same user?

Regards Christoph

SlaY3R

Found a bug:
when one costumer adds someting to there busket and a other costumor adds something to. the busket of costumer 1 is deleted.

Maby you can add somekind of unique id per session?

freeSbee

#393

New Version of Bakery:

VERSION 1.1.1 alpha (05/29/2009)


VERSION HISTORY

  • Bugfix: Added missing var that stopped checkout procedure of advance and invoice payment if direct checkout has been activated (reported by iradj)


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


PLEASE NOTE


* Short tutorial: Add support for Google Analytics
https://forum.websitebaker.org/index.php/topic,7834.msg86026.html#msg86026


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


Christoph


SlaY3R

i'm Started debugging your 1.1 version:)

Greets,

SlaY3R

freeSbee

#391

New Version of Bakery:

VERSION 1.1 alpha (05/27/2009)


VERSION HISTORY

  • Changed handling of payment methods to make it easier adding new payment methods/payment gateways
  • Added 2 new payment gateways: mollie (iDEAL) and payment-network (sofortueberweisung.de)
  • Added option to skip the checkout page
  • Added feature to set the separator for the decimal and group of thousands
  • Separated email to customer and email to shop
  • Bugfix: When modifying the item options they were duplicated accidentally (reported by chio)
  • Added feature to set the item price equal to the item attribute price by using the equals sign
  • Added option to hide general settings, page settings, payment method settings and css settings from shop merchant (all others than id 1)
  • Added option to allow to order out of stock items OR in stock items only
  • Added placeholders [SHIPPING_ABROAD] and [SHIPPING_DOMESTIC] for use in the main page and item html templates
  • Bugfix: Replaced hardcoded page extension '.php' by wb constant PAGE_EXTENSION (reported by chio)
  • Added support for Google Analytics to track visitors progress through a funnel* (thanks to thorn and stefek)
  • Added item delete button to the Bakery cart (requires javascript)
  • Deleted hardcoded image size of "step 1-2-3" images to ease use of customized images
  • Now uses htmlspecialchars() to output item date to prevent problems with quotes (reported by instantflorian)
  • Changed the sequence of the table sort so that latest orders are on top
  • Bugfix: Does not add TIMEZONE to the order timestamp any more
  • Removed code that added css and js to the html body if register_frontend_modfiles() did not exist


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


PLEASE NOTE

  • Bakery v1.1 is alpha. Do not use with productive shops.
  • Please give feedback in this thread.
  • Bakery 1.1 provides new features and new settings (see version history above). Before testing please check, modify and complete your general settings and the payment methode settings.
  • If you keep your existing stylesheet frontend.css make sure you copy&paste the new style definitions used by version 1.1 (css classes: .mod_bakery_cart_td_quantity_f, .mod_bakery_cart_td_quantity_f a img, .mod_bakery_bt_pay_mollie_f and .mod_bakery_bt_pay_payment-network_f)


* Short tutorial: Add support for Google Analytics

1. Make two modifications to your template is the first step in how to make the tracking work.

Add global var to the template
Locate the code below at the top of your template. The code might look different but make sure it contains:
!defined('WB_URL')

if(!defined('WB_URL')) {
   header('Location: ../index.php');
   exit(0);
}

and add the next 2 lines right after it:

global $ga_page;
$ga_page = '';


2. Modify your Google Analytics tracking code
Replace the line below:

pageTracker._trackPageview();

by this line:

pageTracker._trackPageview(<?php if($ga_page) echo '"'.$ga_page.'"'?>);


3. Set up goals and funnals at your Google Analytics account
Check pageTracker._trackPageview(); function in the source code of your Bakery page to see what it is feeding to Google Analytics.
Use these values to set up your conversion goals and funnals.


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


Christoph


KEnik

#390
 :|

If I try buy something.
Then validate inserted Address atc.

I see City Olešná is not valid  ( Václav is a Valid !? "á" is ok ?!)

in bakery/language/CS.php  $MOD_BAKERY['ADD_REGEXP_CHARS'] = 'ěščřžýáíéůúĚŠČŘŽÝÁÍÉŮÚ';

Please help

KEnik

#389
@freeSbee

Directory in bakery dos not exist ! ( I dont use /pages/ ... but only / )

There is a biger problem.
I use UTF-8 and Czech language we must insert in MYSQL quetry this 
mysql_query("SET NAMES utf8")
Bakery dont use class.database.php
But use own quetry script
I dont know how made it whit bakery scripts:(

If not I have this M? to ?lape instead Mě to šlape

I take it back > simply change encodink MySQL to collate utf8_czech_ci

freeSbee

@KEnik
This error message is only displayed if the /pages/bakery directory is not writable.

Regards Christoph

KEnik

I check other hosting/install

I must make directory bakery in WB directory.

Upper directori have 777 !?!

KEnik

#386
Thank you for help
I change to 777 imediately when I so this error.
I set upt 777 all directories in / and nothing.
I dont know witch directory?

I other hosting / other WB -  OK

freeSbee

@KEnik
Please check the directory permissions.
chmod to at least 755 or 777.

Regards Christoph