Bakery: Small Shop Module (ORIGINAL TOPIC)

freeSbee

@ gillweb

Quote from: gillweb on February 08, 2008, 02:33:27 AM
Does anyone know of a snippet I could put in my template to show cart contents throughout my site on each page? 
No, there is nothing like that yet. Anyitems makes it possible to display a few products on another page than a Bakery page but NOT the cart.

Quote from: gillweb on February 08, 2008, 02:33:27 AM
I'm not sure if there are session variables that are not given until they visit the "bakery" page that would make this not possible?  Any help would be appreciated.
Yes, there are. The session is initalized first time the cart is shown to the customer. But the content of the cart is saved in the DB.

Best,
Christoph



dhdesign

Have either of you tried this option that is listed in the author's instructions in the first post in this thread?


ANYITEMS
You can use a snippet called Anyitems by Jan (Seagull) to display a few products of a specified section on another page than a Bakery page, e.g. your home page.
http://forum.websitebaker.org/index.php/topic,7834.msg47464.html#msg47464
Please note:
Download Anyitems from the download section at the bottom of this post.
Bakery ≤ v0.6.1 requires Anyitems v0.1
Bakery ≥ v0.7 requires Anyitems v0.2

erikp01

Gillweb,

You are right, this should be a nice snippet. I have been asking for this snippet a few posts ago.
Must be difficult to make I think.

erik

gillweb

So far this is a great add on to the CMS!  Does anyone know of a snippet I could put in my template to show cart contents throughout my site on each page?  The way most bigger websites would have Like:

Cart: 1 item(s) for $25.00

I'm not sure if there are session variables that are not given until they visit the "bakery" page that would make this not possible?  Any help would be appreciated.

Ruud

#105
Hi Christoph,

This is getting to be a very active thread  :-)

Anyway, I just wanted to make another suggestion. (maybe for v0.96)

Overhere it is very common (especially for webshops) to ship products and let the receiver pay the postman (cash on delivery / Nachnahme).
We, the Dutch, are not very happy with paying before getting stuff in our hands  :roll:, PayPal, Credit cards or pay-in-advance are not commonly used.
So especially for small shops that would be a nice extra.
It should not have to be very different from the advance payment method, except the shipping cost will be higer, and the "story" to tell will be a little different.

A "problem" might be the selection page.
A more simple selection dropdownlist might be better than showing all payment procedures together on one page.

What do you think about this? Or is it getting a to much full blown shop that way?

Regards,

Ruud
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

descartes

Quote from: freeSbee on February 05, 2008, 10:19:07 AM
This is the english Bakery thread. Please use the german thread for german posts:
https://forum.websitebaker.org/index.php/topic,7930.0.html

Oh, O.K. I didn't realize that yesterday - little bit confused the last days  :roll:

Quote from: freeSbee on February 05, 2008, 10:19:07 AM
You can modify the country list to fit your needs by deleting lines or changing the lines order. Read more about in the COUNTRIES section of this post:
https://forum.websitebaker.org/index.php/topic,7834.msg47318.html#msg47318

Yes, I've read this thread before posting. I just thought if someone is still happy with the country list and there is no need to change it, it would still be nice to have the shop_country as (pre)selected option. But I see, that is not necessarily needed.

Quote from: freeSbee on February 05, 2008, 10:19:07 AM
Thanks for your suggestions. I have put them on my todo list.

Fine! Thank you!

Best regards

Martin

freeSbee

@RuudE
Quote from: RuudE on February 04, 2008, 01:58:12 PM
Here is my translation in Dutch.
The countrylist is added also in Dutch. To avoid special character problems I added a list in ISO-8859-1 and in UTF-8. Just use the one that corresponds with your WB setup.

Hi Ruud
Thanks a lot for your contribution.
I will include it in the next upgrade!


@descartes

Hi Martin
This is the english Bakery thread. Please use the german thread for german posts:
https://forum.websitebaker.org/index.php/topic,7930.0.html

Quote from: descartes on February 04, 2008, 09:48:55 PM
1. Bestellformular: Wenn der Kunde noch kein Land gewählt hat, dann sollte vielleicht der shop_country gewählt sein, da die Kunden oft aus dem Land kommen, indem auch der Shopbetreiber sitzt.
You can modify the country list to fit your needs by deleting lines or changing the lines order. Read more about in the COUNTRIES section of this post:
https://forum.websitebaker.org/index.php/topic,7834.msg47318.html#msg47318

Quote from: descartes on February 04, 2008, 09:48:55 PM
2. Wenn ein Bestellvorgang ganz zuletzt abgebrochen wird, kommt die Meldung, dass alle Daten gelöscht wurden ("grüne Meldung"). Hier könnte wieder zur Shopstartseite geleitet oder diese über einen Button zur Verfügung gestellt werden (wie bei "Einkauf fortsetzen").
...
Es wäre schön, wenn die Bilder ein alt Tag bekommen würden, um Standardkonform zu sein. Vielleicht bietet sich der Artikelname an oder die Kurzbeschreibung. Notfalls leer.
Thanks for your suggestions. I have put them on my todo list.

Best,
Christoph

descartes

#102
Hallo!

Ein echtes Spitzenmodul! Danke!

Ich hätte zwei kleine Verbesserungsvorschläge:

1. Bestellformular: Wenn der Kunde noch kein Land gewählt hat, dann sollte vielleicht der shop_country gewählt sein, da die Kunden oft aus dem Land kommen, indem auch der Shopbetreiber sitzt.

2. Wenn ein Bestellvorgang ganz zuletzt abgebrochen wird, kommt die Meldung, dass alle Daten gelöscht wurden ("grüne Meldung"). Hier könnte wieder zur Shopstartseite geleitet oder diese über einen Button zur Verfügung gestellt werden (wie bei "Einkauf fortsetzen"). Bei mir etwa werden aktive Seiten im Menü nicht verlinkt (um den aktiven Status zu betonen), so dass dann keine Möglichkeit mehr besteht (ohne Umweg über eine andere Seite) auf die Shopstartseite zurückzukommen.

Na, aber das ist wohl eher Kosmetik :-)

Vielen Dank für Deine Mühe mit dem Modul!

Grüße

Martin

Kurzer Nachtrag:

Es wäre schön, wenn die Bilder ein alt Tag bekommen würden, um Standardkonform zu sein. Vielleicht bietet sich der Artikelname an oder die Kurzbeschreibung. Notfalls leer.

Ruud

Quote from: RuudE on February 04, 2008, 11:25:52 AM
I will be working on optimizing my Dutch translation the next few days (Dutch grammar has some nasty things) and upload it here when its done.

The translation went a bit faster than expected.  :-)

Here is my translation in Dutch.
The countrylist is added also in Dutch. To avoid special character problems I added a list in ISO-8859-1 and in UTF-8. Just use the one that corresponds with your WB setup.

Ruud

[gelöscht durch Administrator]
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

Ruud

Hi freeSbee,

It looks great. It works like a charm now.

I was still a bit puzzled by the multiple shipping rates (per item and a on top of that a total) but I read in this thread it was a request by someone. I will set the per-item-value to 0 strip it out of the details page template.

I will be working on optimizing my Dutch translation the next few days (Dutch grammar has some nasty things) and upload it here when its done.

Thanks again for all your good work.

Ruud
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

freeSbee

Quote from: dhdesign on February 03, 2008, 11:46:29 PM
I've checked via FTP to be sure that all of the files made it up to the server, and they are all there.

Hi dhdesign

I am not sure about your problem but try this:

  • Delete all products in the shop.
  • Check via FTP if there are directories named "bakery" in the /pages and /media directory.
  • If true, delete them.
  • Add new products to the store and try again...

Best,
Christoph

Ruud

Quote from: freeSbee on February 03, 2008, 11:07:25 PM
New Version of Bakery:

VERSION 0.83 (02/03/2008)

Good news,

I'm a bit proud my comments made that much sense.  :wink:
I will start testing tommorow morning  (about midnight overhere) and let you (and the community) know.

Thanks already,

Ruud
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

dhdesign

Quote from: freeSbee on February 03, 2008, 11:04:27 PM
@dhdesign

I am certain this is not a Bakery message and fairly certain it is not a WB message at all. I suppose it is a server message.
Have a look at Bakeries file list and check if there are files missing on the server or may be corrupted. If true, upgrade to v0.83 I am going to post later on.
I've uninstalled 0.82, and have just done a fresh install of 0.83 from the zip file in your post above via the WB module installation interface. I've checked via FTP to be sure that all of the files made it up to the server, and they are all there.

I am getting the same error - "No input file specified" whenever I try to add an item to the cart.

I did not get this error with 0.81. I don't understand what is causing this problem with both of the latest versions.

Any help will be most appreciated!

freeSbee

#96

New Version of Bakery:

VERSION 0.83 (02/03/2008)


  • Modified the item templates using more text vars instead of hard coded text to make them completely multilingual. Use the following vars additionaly to take advantage of:
    [TXT_ITEM], [TXT_SKU], [TXT_PRICE], [TXT_SHIPPING], [TXT_FULL_DESC], [TXT_SHIPPING_COST], [TXT_DOMESTIC], [TXT_ABROAD], [TXT_BACK]
  • Added feature to select a tax rate for shipping.
  • Added customer information about "Free Shipping" in the summary table.

Christoph


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


freeSbee

@dhdesign

I am certain this is not a Bakery message and fairly certain it is not a WB message at all. I suppose it is a server message.
Have a look at Bakeries file list and check if there are files missing on the server or may be corrupted. If true, upgrade to v0.83 I am going to post later on.

dhdesign

I'd been playing around with version 0.81, making cosmetic changes in the shop's appearance, and everything was working fine - I could add products, add them to the cart, view the cart, etc.

This AM I uninstalled the module, then reinstalled the latest version of the module (0.82), did the general and page settings, added one product, and went to test things out. Whenever I try to add an item to the cart, all I get is a blank white page with this message "No input file specified." - I have to hit the back button in the browser to see the shop page again.

This is happening with a clean install of the module, not an upgrade.

Any ideas on what the problem might be?

erikp01

Freesbee,

to have the cart content visbile at step 1 (form entry name and address) I did 2 things:

1°) downloaded view_cart.php and renamed to mini_cart.php. Deleted the code for the buttom display at 2 places. Saved and uploaded.
2°) in view.php  around line 228 I include the mini_cart.php just before the view_form.php include.

Code looks like this:

// MAKE ORDER    
       case $MOD_BAKERY['TXT_SUBMIT_ORDER']:
           include('mini_cart.php');
           include('view_form.php');
           return;
           break;

Works fine for me.

Ruud

QuoteWhich taxe rate would be applied to a eg. shipping based on a flat amount / number of items / percentage of subtotal...
Can anybody advise?

I would suggest to have just one tax rate for shipping. (select rate 1,2,3 or none)
I don't think there will be many shops using different tax rates for shipping.

Just calcuate the total shipping, and add the percentage.
So if shipping = €5.00,  the tax (dutch 19%) would be 5*.19=0.95 added to the tax and to the total.
(asuming the shop was set to pricing excl tax)


Thanks,

Ruud
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

erikp01

#91
FreeSbee,

thank your for the code improvement about the view_cart button, it is indeed better.

Now I am trying to make a snippet that shows a minicart.

Thanks again

erik

freeSbee

Quote from: RuudE on February 01, 2008, 03:50:04 PM
(ps.. it gets even worse, the actual rule is you need to add tax in the same percentage as the goods you deliver. I can't find out what to do when you have mixed tax rates in one order)

Which taxe rate would be applied to a eg. shipping based on a flat amount / number of items / percentage of subtotal...
Can anybody advise?

Thanks!

Ruud

Ouch..

Looking at the templates I see what you mean.

A request for next version?

Can you change te templates to use variable names instead of hard coded data?
That way you could make it completely multilanguage (i think)

For now, I will recreate the pages to fix the problem.

Thanks,

Ruud
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

freeSbee

Quote from: RuudE on February 01, 2008, 11:17:11 PM
..., but still shows in the first and details page.

No worry! It is in your Database...
At the moment you are adding a new Bakery page, Bakery creates the templates of the overview page and the detail page USING THE CURRENT LANGUAGE FILE!
Modify the templates at the "Layout Settings" section of the "Page Setttings".
Furthermore try to create a new Bakery page using NL.php you will see - no miracles!

Good n8!
Christoph


Ruud

QuoteLanguage file EN.php line 135:
$MOD_BAKERY['TXT_PRICE'] = 'Price';

my ne NL.php says:
$MOD_BAKERY['TXT_PRICE'] = 'Prijs';

The first page shows: Price
The details page shows: Price
The "view cart" page shows: Prijs

I renamed the DE.php to NL.php. The same thing happens.
It gets even stranger..
I renamed my NL.php to EN.php (started a fresh browser)
The word "Price" is not in there, but still shows in the first and details page.

I'm really lost here.

Ruud
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

freeSbee

Quote from: RuudE on February 01, 2008, 10:57:28 PM
For instance the word "Price" on the firstcatalog page. I can't find it in the language file or even in the view*.php files.

Language file EN.php line 135:
$MOD_BAKERY['TXT_PRICE'] = 'Price';

Ruud

QuoteIt is possible and I will more probably than not implement it in the next version.

Thats good news. I'll be waiting.

In the meantime I am trying to translate the language files in Dutch.

Strange thing is that some words seems to be hardcoded?
For instance the word "Price" on the firstcatalog page. I can't find it in the language file or even in the view*.php files.

Am I missing something there?

Ruud
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]