Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 12:17:34 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155535 Posts in 21712 Topics by 7736 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Bakery Shop  (Read 959 times)
kirk
WebsiteBaker Org e.V.

Offline Offline

Posts: 204



WWW
« on: October 14, 2010, 08:41:16 PM »

Hallo Christoph,

nach fast drei Jahren Bäckerei bin ich endlich mal dazu gekommen das Bakery 1.5.6 zu installieren.
Erst einmal vielen Dank für deine Arbeit. Ich bin wirklich froh das es so ein schlankes Shopsystem für WB als Modul gibt.
Wie ich sehe machst Du auch viel Pflege und Updates. Auch die Bakery Webseite ist sehr gut organisiert schnell und Übersichtlich.

Nun habe ich dennoch noch ein paar Schwierigkeiten und ich vermisse die ein oder andere Funktion.

1. Ein Bug scheint es mit dem frontend.js zu geben

Fehler: document.getElement ById(type + "_state_text") is null
Quelldatei: http://www.kirkfoto.de/modules/bakery/frontend.js

Zeile: 38 document.getElement ById(type + '_state_text').style.display = 'none';

Und zwar setzte ich das minicart droplet ein. Beim Bestellvorgang Step1 verschwindet dann der Warenkorb link und es wird einfach als Text der droplet call ausgegeben: [[ModBakeryMiniCart]] bei Step2 wird es wieder korrekt ausgegeben und bei Step3 wieder nicht.
Hier der Link zum ausprobieren:

http://www.kirkfoto.de/foto/frankfurt.php

2. Ich habe die Versandkosten auf Pauschal gestellt. Hier wird im Gegensatz zu Artikel bezogene Versandkosten nichts im Warenkorb angezeigt. Erst beim Bezahlen tauchen die Versandkosten in der Summmierung auf. Für einen Abmahnsicheren Shop sollten die Versandkosten sofort sichtbar sein.

3. Im Step2 der Bestellung also da wo die Versandkosten auftauchen fehlen die Thumbnails.

4. Für einen Abmahnsicheren Shop reicht es nicht mehr aus nur die AGB zu akzeptieren es muss zusätzlich und getrennt voneinander Wiederrufsbelehrung und Datenschutz akzeptiert und markiert werden. Also zwei weitere chekboxen mit Link auf Datenschutz und Wiederrufsbelehrung wären prima.

Ich hoffe du kannst mir zu den Punkten 1 2 und 3 weiterhelfen und den Punkt 4 zum nächsten Update realisieren.


Kirk
Logged
kirk
WebsiteBaker Org e.V.

Offline Offline

Posts: 204



WWW
« Reply #1 on: October 19, 2010, 07:13:02 PM »

Scheint keiner zu Hause zu sein.

freeSbee letzter Post ist schon über einen Monat her.

Ich hoffe im geht es gut.

Weis jemand was los ist?

Kirk
Logged
mjm4842

Offline Offline

Posts: 227


« Reply #2 on: October 19, 2010, 07:49:16 PM »

Hi Kirk,

Thank you for taking the time to contribute your comments regarding the Bakery module.

Sorry for replying in English. Unfortunately I don't speak German. Unfortunately freeSbee is busy on a project until at least the beginning of December (according to his last message to me).

I used Google translate to try to figure out what you were saying in your message above but I didn't understand its translation. Would it be possible for you to describe your issues and/or solutions in English?

A list of completed and almost completed features that will be in the next version of Bakery can be found at http://www.websitebaker2.org/forum/index.php/topic,18426.msg128640.html#msg128640

The very next post includes a compilation of requested features that people are asking for but are not yet implemented. If there feature or bug fix you would like to see in future versions of Bakery, I would invite you to post it to that thread.

With warmest regards,

Michael Milette
Logged

Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a
kirk
WebsiteBaker Org e.V.

Offline Offline

Posts: 204



WWW
« Reply #3 on: October 19, 2010, 09:38:34 PM »

Hi Michael,

thanks for your post.

i´m glad to hear Christoph doing well. I was a little concern.

i try translate my first post.

1.)
I use the cart link droplet works fine so far.
only when it comes to the address form in the 1. step of the order procedure, the link disappears and only the droplet tag [[ModBakeryCartLink]] in rough html text shows up. in second step works fine and in step three don´t again.

2.)
it is highly necessarily by german legal for online shops the costumer has to agree up to 3 different parts which is "AGB" "Widerrufsbelehrung" and "Datenschutz" separately. Because of this it needs two further agree check boxes. Is it possible realize in the current version of bakery?

Kirk
Logged
mjm4842

Offline Offline

Posts: 227


« Reply #4 on: October 19, 2010, 10:11:37 PM »

Hi Kirk,

I am not familiar with the cart link droplet as I have never used it. I went to the link in the German version of your post but could not figure out what error you are describing (nice looking site by the way). What I did was to add a photo to the shopping cart, then clicked on Continue shopping. Then I clicked on Shopping cart in the upper right corner. Next I clicked on Place order. I did notice that the link to the shopping cart disappeared from the upper right corner which is normal for Bakery. However I did not see any HTML code appear on the screen. Everything seems to work fine. As I am not familiar with the droplet, I am not sure if I can help you however can you provide any further guidance to reproduce the issue? I was able to navigate as described above thanks to the automatic translation features of Google Toolbar.

Unfortunately there is no way to have two other check boxes in the current version of Bakery. From what you are saying, I understand that it is not sufficient to simply include all the text in a single page. Is that correct?

Best regards,

Michael
Logged

Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a
kirk
WebsiteBaker Org e.V.

Offline Offline

Posts: 204



WWW
« Reply #5 on: October 19, 2010, 10:33:55 PM »

Hi Michael,

thanks for taking time of this matter.

Im sorry i have forgotten to tell you that the html text is black on black background.
for better understanding take a look on the screenshot.

Quote
I understand that it is not sufficient to simply include all the text in a single page. Is that correct?

yes and it is more about customers have to do the agree action separately.

Kirk
Logged
mjm4842

Offline Offline

Posts: 227


« Reply #6 on: October 20, 2010, 12:53:07 AM »

Hi Kirk,

How did you insert the droplet? Is it in a section or did you put it into your template?

Since the droplet is being used globally across your whole website, have you considered putting the php code into your template instead of using a droplet?

Michael
Logged

Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a
kirk
WebsiteBaker Org e.V.

Offline Offline

Posts: 204



WWW
« Reply #7 on: October 20, 2010, 01:22:04 AM »

Hi Michael,

i insert the droplet in the template. In case i use the php code in template. how would that bee?. i´m not very experience in php.

Kirk
« Last Edit: October 20, 2010, 01:24:03 AM by kirk » Logged
mjm4842

Offline Offline

Posts: 227


« Reply #8 on: October 20, 2010, 05:26:39 AM »

Hi Kirk,

Assuming you are using the ModBakeryCartLink droplet, replace the droplet text  in your template with the following text:

Code:
<?php
// Droplet [[ModBakeryCartLink]] v0.2 (08.13.2010)
global $database;
if (
LANGUAGE_LOADED && !isset($MOD_BAKERY)) {
  include(
WB_PATH.'/modules/bakery/languages/EN.php');
  if (
file_exists(WB_PATH.'/modules/bakery/languages/'.LANGUAGE.'.php')) {
    include(
WB_PATH.'/modules/bakery/languages/'.LANGUAGE.'.php');
  }
}
// If exits get the section id of the last visited Bakery section...
if (isset($_SESSION['bakery']['last_section_id']) && is_numeric($_SESSION['bakery']['last_section_id'])) {
  
$section_id $_SESSION['bakery']['last_section_id'];
  
$clause "WHERE ps.section_id = '$section_id'";
} else {  
// ...else get the highest section id
  
$clause "WHERE ps.section_id != '0' ORDER BY ps.section_id ASC LIMIT 1";
}
// Get continue url
$query_continue_url $database->query("SELECT link FROM ".TABLE_PREFIX."pages p WHERE p.page_id = (SELECT ps.continue_url FROM ".TABLE_PREFIX."mod_bakery_page_settings ps $clause)");
if (
$query_continue_url->numRows() > 0) {
  
$fetch_continue_url $query_continue_url->fetchRow();
  echo 
'<a href="'.WB_URL.PAGES_DIRECTORY.stripslashes($fetch_continue_url['link']).PAGE_EXTENSION.'?view_cart=yes">'.$MOD_BAKERY['TXT_VIEW_CART']."</a>";
} else {
  echo 
'<p style="color: red;">ERROR: No Bakery section found</p>';
}
?>


The code is basically identical to the original droplet code except that the word "return" has been replaced by "echo" in the last few lines and I modified the ERROR message so that it no longer mentions the droplet.

By the way, I rarely use droplets in PHP source code however I did try it once and found that it only worked if I dropped one set of the square brackets. For example: [ModBakeryCartLink] instead of [[ModBakeryCartLink]]. However, when inserting a droplet into a WYSIWYG section, it then seems to requires the usual two sets of brackets. I don't know if this is normal or not but it might work for you.

Good luck and let me know how it goes.

With warmest regards,

Michael
« Last Edit: October 20, 2010, 05:31:51 AM by mjm4842 » Logged

Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a
kirk
WebsiteBaker Org e.V.

Offline Offline

Posts: 204



WWW
« Reply #9 on: October 20, 2010, 10:06:15 AM »

Hi Michael,

thank you very much. It works like a charm.

So what could be the reason. Is this some thing about the droplet it self or rather the bakery module?

In order to keep the template clean i would prefer use the droplet.

Best regards,

Kirk
Logged
mjm4842

Offline Offline

Posts: 227


« Reply #10 on: October 20, 2010, 03:11:43 PM »

Hi Kirk,

Glad it's working for you. Did you try using the single set of square brackets?

I don't have a good understanding of how droplets work in WebsiteBaker, especially when they are embedded in the templates. I've just never looked into it.

As the droplet works in most parts of Bakery and not in the page you specified, I must conclude that there is something different in the way that particular page is displayed which is preventing droplets from being interpreted. In Techy talk, if I might guess that some part of the standard WebsiteBaker framework was not being initialized for that particular page. I will add this to the list of desireable features for future versions of Bakery.

If I think of anything, I'll be sure to let you know.

With warmest regards,

Michael
« Last Edit: October 20, 2010, 03:16:10 PM by mjm4842 » Logged

Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a
kirk
WebsiteBaker Org e.V.

Offline Offline

Posts: 204



WWW
« Reply #11 on: October 20, 2010, 05:12:06 PM »

Hi Michael
Quote
Did you try using the single set of square brackets?

Yes, but it did´n work.

Kirk
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!