WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Bakery: Small Shop Module (ORIGINAL TOPIC)
  • Print
Pages: 1 ... 25 26 [27] 28 29 ... 34   Go Down

Author Topic: Bakery: Small Shop Module (ORIGINAL TOPIC)  (Read 580170 times)

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #650 on: February 06, 2010, 10:06:29 AM »
Hi Nene

Quote from: nene on February 06, 2010, 12:14:18 AM
Is there a way of knowing the total number of stock in inventory?

If you need to know the exact number of stock in inventory do this:

1.
Set the shop offline to make sure no customers are shopping at the time. "WB backend" > "Modify Page Settings" > "Visibility" > select "Private".

2.
Wait for a least one hour, then call the cart in the shop frontend. This will put all items back to stock that are blocked by uncompleted orders. Quit your order at the "Order Summary" page.

3.
Got to the "Stock Administration" and check your shop inventory.

http://www.bakery-shop.ch/#stock_administration

Regards Christoph
« Last Edit: February 07, 2010, 08:50:31 AM by freeSbee »
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #651 on: February 06, 2010, 10:53:35 AM »
Hi Ivan

Quote from: crnogorac081 on February 05, 2010, 03:47:54 PM
If you have TABLE PREFIX, the bakery want install. I tested with 2.8 and 2.8.1 Revision 1274.
I solved the problem by replacing [TP] with '.TABLE_PREFIX.' in install.php file

The placeholder [TP] is used by the WB search and is replaced in search/search.php by the corresponding WB TABLE_PREFIX constant. Therefor it should not cause problems.

Regards Christoph
Logged

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #652 on: February 06, 2010, 11:01:23 AM »
Quote from: freeSbee on February 06, 2010, 10:53:35 AM
Hi Ivan

Quote from: crnogorac081 on February 05, 2010, 03:47:54 PM
If you have TABLE PREFIX, the bakery want install. I tested with 2.8 and 2.8.1 Revision 1274.
I solved the problem by replacing [TP] with '.TABLE_PREFIX.' in install.php file

The placeholder [TP] is used by the WB search and is replaced in search/search.php by the corresponding WB TABLE_PREFIX constant. Therefor it should not cause problems.

Regards Christoph

I will check again on clean install.. However, the I must notice that before it fails, the instalation takes too long..
Logged
Web developer

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #653 on: February 06, 2010, 11:26:53 AM »
@Ivan
Your addition works great with a WB 2.8.0 Finale Installation.
I guess it's a problem with implementing the jQuery to the 2.8.1 (something changed, I guess).

Kind Regards,
Stefek
« Last Edit: February 06, 2010, 02:13:42 PM by Stefek »
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #654 on: February 06, 2010, 11:58:48 AM »
@Stefek,

I found out why it is not ewokring, in argos_theme (I assume you are using it too) jqyery-ui-min.js script is commented, just uncomment it and it will work :)

But I do not know the reason why it is commented, I posted a question on another topic.

cheers
Logged
Web developer

Claren

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #655 on: February 06, 2010, 12:04:57 PM »
Hi all,

Could anyone please tell me what file to edit to take way the name verification on this page?



The function keeps telling me I don't know how to spell my own name.
I doubt I will get anything sold if I insult my customers like that.

I tried to add the "é" to "'ADD_REGEXP_CHARS'" but it is still not accepted, so that function has to go.

Could anyone please help?

BTW, I have created SE language files, should I upload it somewhere for others to use?
« Last Edit: February 06, 2010, 12:28:12 PM by Claren »
Logged

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #656 on: February 06, 2010, 12:12:29 PM »
@Ivan
No, I didn't use Argos Theme.
I used the "Classic Theme."
I will take a look and let you know. :-)

Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #657 on: February 06, 2010, 12:20:02 PM »
then just insert line where jquery-ui-min.js is called from argos footer.htt
Logged
Web developer

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #658 on: February 06, 2010, 12:53:44 PM »
@Ivan,
you're right. For some ** reason somebody deleted the ui-min.js call from the footer.
I can't understand why.  The whole UI will be loaded once on the "login to backend" Page and will stay in cache (so it will not harm "loading times" or something.
Your implemantation works fine by the way if the UI is loaded.

Kind Regards,
Stefek
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #659 on: February 06, 2010, 01:02:12 PM »
I just find out the code to call the ui-min.js I belive that script is not much used so they removed it to minimize server load. I pm argos for this, maybe he can give me more info.

Finally,  I will add that js code to patch, and repost patch again. The most important thing is that it works :)

cheers
Logged
Web developer

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #660 on: February 06, 2010, 01:16:06 PM »
Hello Ivan,
as I said before:

Quote from: Stefek on February 06, 2010, 12:53:44 PM
The whole UI will be loaded once on the "login to backend" Page and will stay in cache (so it will not harm "loading times" or something.

the UI won't really harm the backend loading time - it's loaded once and then stays in the cache. ;-)
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #661 on: February 06, 2010, 01:22:01 PM »
then I do not see the point of removing it :)
Logged
Web developer

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #662 on: February 06, 2010, 02:17:47 PM »
@Christoph,
I attatch a bug handling for the "upload images" behavior.
Observation: if a picture is choose and you click on "select amount of pictures", the chosen path of the previously selected picture disapears.

The attached File will handle this.
I also restyled the "Upload Picutres" area (with inline css).



See Screenshot for changes.

The 3.Add images Section  is reworked.
You can select a picture, then go to [ + ] Add and you will get a new input/file without loosing the path in the first input/file.
Feel free to use all the code.
The "cosmetics" is my own fashion. You can use it or not, but please update the JS to get rid off the bug.

Kind Regards,
Stefek

[gelöscht durch Administrator]
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #663 on: February 06, 2010, 02:36:48 PM »
More useful/usability Features to come.

Hello Christoph.
I made another changes and want to show them here.
I hope you like them.

Just let me know and I will share the code (the reason I am not doing it now is, because I have some additional stuff I want to implement - so let me know what you think.)

I won't comment the screenshot any further. It should be self  explanatory, so far.

But I really want to say thank you to Ivan, who found a way to implement the Ajax Item Reodering.

Regards,
Stefek


 

[gelöscht durch Administrator]
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline nene

  • Posts: 59
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #664 on: February 06, 2010, 06:22:34 PM »
Thanks Christoph.

Regards
Nene
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #665 on: February 06, 2010, 09:18:50 PM »
Hi Ivan, hallo Stefek

Thank you guys for improving Bakery!
I did not have the time yet to survey the new features you have implemented but I am looking forward to it.

Thanks again
Christoph
Logged

freeSbee

  • Guest
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #666 on: February 06, 2010, 09:34:47 PM »
Hi Claren

Quote from: Claren on February 06, 2010, 12:04:57 PM
I tried to add the "é" to "'ADD_REGEXP_CHARS'" but it is still not accepted, so that function has to go.
What charset encoding did you set as WB default charset (advanced options of the general WB settings)?
What charset encoding did you use to save your SE localisation file?

Quote from: Claren on February 06, 2010, 12:04:57 PM
BTW, I have created SE language files, should I upload it somewhere for others to use?
Thank you for translating Bakery!
Include your credits in the header of the localisation file right above the licence terms.
Please post it in this thread of the WB community forum.

Regards Christoph
Logged

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #667 on: February 06, 2010, 09:47:36 PM »
Quote from: freeSbee on February 06, 2010, 09:18:50 PM
Hi Ivan, hallo Stefek

Thank you guys for improving Bakery!
Of course, Christoph - Bakery is one of my favorite modules. I use it not only as a shopping cart module but also as a kind of "catalogue" Module.

As I see you did some clean up on the files.
That's very cool!

Kind Regards,
Stefek
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #668 on: February 06, 2010, 09:59:06 PM »
Im glad we can help :)
Logged
Web developer

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #669 on: February 07, 2010, 02:37:43 PM »
Quote from: crnogorac081 on February 05, 2010, 01:35:54 PM
I am using WB 2.8
Could you send me on PM the sorce code from your backend page to take a look
I tested patch on WB 2.8 and latest bakery 1.5.0

Hello Ivan,
hello Christoph.

I attached a set of files which handles the inconsistence between wb Versions.
It now should work in 2.8.0 and 2.8.1 a expected.

Ivan, see the backend_body.js to see how the UI and the drag_n_drop jQ Plugin are inserted.

Kind regards,
Stefek

[download removed, see newer download 2 posts later]
« Last Edit: February 07, 2010, 10:13:24 PM by Stefek »
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #670 on: February 07, 2010, 05:02:40 PM »
Hi Stefek,

Your patch is not working on 2.8.1 stable.  We will allways have incompatiblilities because of the missing jquery ui file. For example, if you load this patch to 2.8 stable, you called same script twice. Try to comment ui script in footer.htt, and then try reordering. For me, draging is working, but not reordering (saving position order) at your script..
Logged
Web developer

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #671 on: February 07, 2010, 08:34:27 PM »
Hello Ivan,

I found the problem and I attatched the files.
Use them on a clean bakery installation.
And it will work regardless if the jQuery UI is commented or not in the Backend Theme.

Please take a look one more time and let me know.

Kind Regards,
Stefek

[gelöscht durch Administrator]
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #672 on: February 07, 2010, 11:59:11 PM »
The script works on 2.8.1

However, I must say that it is still not cross version compatibile, and on WB 2.8.0 you must insert

Code: [Select]
<script type="text/javascript">
var WB_URL = '{WB_URL}';
var THEME_URL = '{THEME_URL}';
var ADMIN_URL = '{ADMIN_URL}';
</script>

Inside header.htt file, as WB_URL for java scripts is not defined. Also I didnt notice any difference on 2.8.0 because jquery-ui is loaded twice..

I am still asking the developers to leave jquery-ui uncomented in footer.htt
Logged
Web developer

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #673 on: February 08, 2010, 12:17:48 AM »
Quote from: crnogorac081 on February 07, 2010, 11:59:11 PM
However, I must say that it is still not cross version compatibile, and on WB 2.8.0 you must insert

Code: [Select]
<script type="text/javascript">
var WB_URL = '{WB_URL}';
var THEME_URL = '{THEME_URL}';
var ADMIN_URL = '{ADMIN_URL}';
</script>

Inside header.htt file, as WB_URL for java scripts is not defined. Also I didnt notice any difference on 2.8.0 because jquery-ui is loaded twice..

Ohh yes..
I didn't check it.
Well, I'll have a look tomorow on this.
Otherwise it will be limited only to 2.8.1 or those guys who are willing to prepare their installation (its backend theme header.htt).

BTW.
Please check if the UI is really loaded twice and if it has some limitations in usage (exaple: you have two or three different modules on one page, all using the insertion of the UI - would this become problematic?)
Otherwise it's no problem if the UI is not loaded from the Backend Footer. The insertion is functioning all right so far.

I'll send you a PM tomorrow, Ivan.

Regards,
Stefek


Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Bakery: Small Shop Module (ORIGINAL TOPIC)
« Reply #674 on: February 08, 2010, 09:06:14 PM »
So far I see no problem on 2.8.0, and UI is loaded twice (one from footer.htt -- the line which is commented in 2.8.1  grrrrrrrr  :x :x :x :x)
Logged
Web developer

  • Print
Pages: 1 ... 25 26 [27] 28 29 ... 34   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Bakery: Small Shop Module (ORIGINAL TOPIC)
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2