We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15001
    • 697 Posts
    Thanks Matt,

    I did not know the existence of videos. Could you put some link to them ?

    Well, according to the installation notes (/docs/en/eng_doc_module.html) that come in the Shopkeeper zip file tell one must first install the shopkeeper snippet files in the asset/snippets/shopkeeper folder.

    1. If the Shopkeeper snippet has not yet been installed, copy the snippet files to the folder assets/snippets/shopkeeper/.
    This doesn’t tell exactly what is meant by "snippet files". If it’s only Shopkeeper_snippet.php (most probably not), and which other files should be copied in that folder.
    So, being careful, I copied all files and folder that were in the unzipped "shopkeeper" folder in the "assets/snippets/shopkeeper" folder.

    Then, I installed the module, following these instructions:
    2. In the Manager, go to "Modules" -> "Manage Modules"
    3. Click on "New Module"
    4. Module name: Shopkeeper,
    Description: Order management,
    Open the file Shopkeeper_module.php in the "install" folder, copy the contents and paste into the Module Code field. Click on "Save".

    Then I clicked on the blue box icon at the left of Shopkeeper module name:
    5. Go to "Modules" -> "Manage Modules" and click on the icon next to Shopkeeper. Click on Install to install the module.
    But there was no "Install" entry in the contextual menu that dispayed.
    There was something like "Run Shopkeeper" or something similar, but nothing to install.

    I see that there is also some "install" folder in Shopkeeper distribution.
    But which php file to launch? I cannot see any "setup.php" "install.php" or "index.php" file. I’m perplex.

    Should I also install eForm prior to Shopkeeper? And what about the SHK widget? Is it installed automatically?

    Sorry for the many questions and thanks in advance.
      • 18913
      • 654 Posts
      Hi,
      Videos are here :
      http://wdevblog.net.ru/assets/files/shopkeeper_sc1.zip
      http://wdevblog.net.ru/assets/files/shopkeeper_sc2.zip
      but they’re related to the earlier 0.8.x version.

      More in a bit on your other questions...
      MattC
        • 26931
        • 2,314 Posts
        Hi Jul,

        This doesn’t tell exactly what is meant by "snippet files". If it’s only Shopkeeper_snippet.php (most probably not), and which other files should be copied in that folder.
        unzip shopkeeper_0.9.zip and copy the the folder "shopkeeper" to assets/snippets
        There was something like "Run Shopkeeper" or something similar, but nothing to install.
        you click on "run module" after that you got "install" displayed
        I see that there is also some "install" folder in Shopkeeper distribution.
        But which php file to launch? I cannot see any "setup.php" "install.php" or "index.php" file. I’m perplex.
        nothing to launch from these files actually, those are just for copy & pasting the module, snippet & widget code
        Should I also install eForm prior to Shopkeeper
        eForm comes with the standard MODx installation (if you choose to in the installation process). it’s necessary in order to send the shopping-cart information to the module, and confirmation emails to the customer and you
        And what about the SHK widget? Is it installed automatically?
        no, it’s not automatically installed. for a simple shopping cart it’s not needed, only if you use additional product parameters

        hope i could help smiley
          • 18913
          • 654 Posts
          Right. What he said wink
          MattC
            • 15001
            • 697 Posts
            @sharkbait: Thanks. But when I select "run module", I get this error:
            Warning: require_once(includes/controls/datasetpager.class.php) [function.require-once]: failed to open stream: No such file or directory in D:\xampplite\htdocs\some_site\manager\processors\execute_module.processor.php(114) : eval()’d code on line 17
            Any idea what could go wrong ?
              • 26931
              • 2,314 Posts
              Hi Jul,
              Any idea what could go wrong ?
              this could be the solution: http://modxcms.com/forums/index.php/topic,42337.msg254051.html#msg254051
                • 15001
                • 697 Posts
                Hi sharkbait,

                While you were posting, I could find another version of Shopkeeper:
                http://dl.dropbox.com/u/1951410/shopkeeper0.9-beta6-de.zip
                which partially solved the problem.

                I don’t encounter above problem anymore, but all characters are unreadable.
                Like if Russian was used by default and I didn’t have the correct fonts.
                But its also possible that some UTF-8 files were by mistake saved as ANSI, because comments are unreadable in several source files.

                I’ll read carfully the thread that you linked.
                Cheers.
                  • 26931
                  • 2,314 Posts
                  While you were posting, I could find another version of Shopkeeper:
                  http://dl.dropbox.com/u/1951410/shopkeeper0.9-beta6-de.zip
                  these are the pre Version 0.9 files
                  But its also possible that some UTF-8 files were by mistake saved as ANSI, because comments are unreadable in several source files.
                  which language-files are you talking about? the files lang_en.js & english.php are actually ANSI, but you can easily convert them to UTF-8 with Notepad++ or such ( files are in shopkeeper/lang )
                    • 15001
                    • 697 Posts
                    Hi sharkbait,

                    I could replace the 0.9 beta 6 prerelease with the "official" 0.9 release from the repository.

                    The problem was comming from the lacking "./" in the module code:
                    require_once "./includes/controls/datasetpager.class.php";
                    After correcting the module works. But the strange characters still display.

                    I could download the 2 videos and I’m going to watch them now.

                    The strange characters are present in some comments of Shopkeeper_module.php.
                    Probably, it was once accidentaly saved to non utf-8 and the Russian comments were destroyed. There are also strange characters in the strings displayed by the Shopkeeper backend, but I now have to go back to instructions and follow the steps.

                    I found on Andchir’s site http://wdevblog.net.ru/ that he also sells a e-Commerce 1.0 software for about 7 USD (200 roubles), allowing to sell digital goods.
                    ( Pages of above website can be translated pretty well from Russian to English by translate.google.com )
                    Did someone test e-Commerce 1.0 ?
                      • 15001
                      • 697 Posts
                      Hi,

                      I watched the first video and also set the chunks. The video is nice, but I think it’s useful to take notes to not loose too much time with the play/pause buttons.

                      My instalation of the Shopkeeper module is in Russian.
                      I realized this because switching to the "Cyrillic - Windows" encoding replaced the random suite of accented characters by cyrillic ones.

                      How to switch Shopkeeper config so that it uses the non-Russian language files?
                      http://modxcms.com/forums/index.php?topic=42290.0
                      Are there some lines of code to edit?

                      I cannot see any "Install" button that would lead to a setup wizard.