Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 10:24:04 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149693 Posts in 21103 Topics by 7562 Members
Latest Member: sintiyasol
* Home Help Search Login Register
Pages: 1 ... 25 26 [27] 28 29 ... 34   Go Down
Print
Author Topic: Bakery: Small Shop Module (ORIGINAL TOPIC)  (Read 136977 times)
freeSbee
Moderator
**
Offline Offline

Posts: 729


WWW
« Reply #650 on: February 06, 2010, 10:06:29 AM »

Hi Nene

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
Moderator
**
Offline Offline

Posts: 729


WWW
« Reply #651 on: February 06, 2010, 10:53:35 AM »

Hi Ivan

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
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1680



« Reply #652 on: February 06, 2010, 11:01:23 AM »

Hi Ivan

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

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4755



« 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

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1680



« 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 Smiley

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

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Claren

Offline Offline

Posts: 9


« 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
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4755



« 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. smiley

Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1680



« 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

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4755



« 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

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1680



« 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 Smiley

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4755



« Reply #660 on: February 06, 2010, 01:16:06 PM »

Hello Ivan,
as I said before:

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. wink
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1680



« Reply #661 on: February 06, 2010, 01:22:01 PM »

then I do not see the point of removing it Smiley
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4755



« 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
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4755



« 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


 
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
nene

Offline Offline

Posts: 56


« Reply #664 on: February 06, 2010, 06:22:34 PM »

Thanks Christoph.

Regards
Nene
Logged
freeSbee
Moderator
**
Offline Offline

Posts: 729


WWW
« 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
Moderator
**
Offline Offline

Posts: 729


WWW
« Reply #666 on: February 06, 2010, 09:34:47 PM »

Hi Claren

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?

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
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4755



« Reply #667 on: February 06, 2010, 09:47:36 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

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1680



« Reply #668 on: February 06, 2010, 09:59:06 PM »

Im glad we can help Smiley
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4755



« Reply #669 on: February 07, 2010, 02:37:43 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

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1680



« 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

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4755



« 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
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1680



« 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:
<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

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4755



« Reply #673 on: February 08, 2010, 12:17:48 AM »

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

Code:
<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

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1680



« 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  angry angry angry angry)
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Pages: 1 ... 25 26 [27] 28 29 ... 34   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!