We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    This is an auto-generated topic for <a href="http://modxcms.com/extras/package/527">Shopkeeper 0.9.3-release</a> by andchir.

    Brief Description:
    Whats new in Shopkeeper 0.9.3



    1. Fixed bug with incorrect operation of the parameter &lang.

    Now the values have to write as well as the name of the language file (some renamed)

    eg &lang = `english` (default - manager language).



    2. Fixed bug with clearing user statistics as editing its data in the admin area.

    Added a new table in database - web_user_additdata.



    3. Added parameter &clearCacheAfter=`1` to clear the cache after order submit.

    Useful if you use &inventory.



    4. In chunk cartRowTpl can use any TV like placeholder.

    For example to display images in your shopping cart to add the following code:

    <img src="[+image+]" width="50" alt="[+name+]" />



    5. In the name of the goods, you can use double and single quotation marks.



    6. Have been made the new JS-functions that can be used at any point in your code:

    jQuery.emptyCart () - empty the shopping cart;

    jQuery.refreshCart () - update shopping cart.



    7. Made Chunk for the parameters of goods in a shopping cart ([+addit_data+]):

    &additDataTpl=`additDataTpl`.



    8. Made a partial refactoring PHP-code.



    9. The module status color is now selected in visual mode.



    10. Made for Chunk [+orderData+] (&repotr eForm)

    &orderDataTpl



    11. in Chunk &cartRowTpl added placeholder [+price_total+] - the price of goods + parameters.



    12. Updated Russian and English documentation.
      • 269
      • 1 Posts
      Quote from: ReleaseMe at Feb 24, 2010, 03:49 PM


      4. In chunk cartRowTpl can use any TV like placeholder.
      For example to display images in your shopping cart to add the following code:
      <img src="[+image+]" width="50" alt="[+name+]" />



      How does this [+image+] work? I can’t get this to work?
      How do I access custom template variables in a row template?

      I made a TV called Product_Image, but when I put [*Product_Image*] or [+Product_Image+], it doesn’t work? Did I miss something?

      Thanks in advance laugh
        • 20013
        • 37 Posts
        When installing the module from "shopkeeper_mod.inc.php" I got errors for "templates/header.tpl.php" not found.
        And also for the other template files.
        In the module code I fixed it with:
        include "templates/header.tpl.php";

        changed to
        include SHOPKEEPER_PATH."module/templates/header.tpl.php";

        Now maybe I didn’t move the module/templates folder to the right place?
          • 20349 ☆ A M B ☆
          • 453 Posts
          How can I put extra line in Shopping cart total SUM for postage & package in addition for all products in the cart?

          or maybe some better idea for additional PP costs?
            BASE - Web Design Studio
            MODX Ambassador

            Website
            • 7690
            • 166 Posts
            It is not safe. I have tried it now and i can alter all the prices with firebug...

            will be fixed in next version i heard...
              • 9994
              • 133 Posts
              Is there any release date for the updated version?
              Can’t w8 for the new release.
                Best CMS eva!
                • 20349 ☆ A M B ☆
                • 453 Posts
                Quote from: Andchir at Apr 01, 2010, 11:10 AM

                Thank you for reporting this vulnerability! In the near future (probably tomorrow) will be made patches for versions 0.9.x. In version 0.8.x, too, have this vulnerability, but a little different. Please the patch before the release delete from the forum description of vulnerability. Sorry for my English.

                Hi Andchir!
                Just wanted to say THANK YOU! for this Module smiley

                Hope it’s gonna be widely used....


                I’m using it now on my website! smiley


                EDIT:
                Quote from: Andchir at Apr 01, 2010, 03:43 PM

                Bug fixed in version 0.9.4 RC2. Download
                How to upgrade? Do I need to reinstall the whole thing? undecided
                  BASE - Web Design Studio
                  MODX Ambassador

                  Website
                  • 20349 ☆ A M B ☆
                  • 453 Posts
                  Just replaced all... and now I’m having problems... total price of products are not displaying in the basket undecided
                    BASE - Web Design Studio
                    MODX Ambassador

                    Website
                    • 9994
                    • 133 Posts
                    thanks allot for the update, really like the shopkeeper, now i have to put an ideal payment system on it (dutch/belgium) :z fingers crossed.
                      Best CMS eva!
                      • 20349 ☆ A M B ☆
                      • 453 Posts
                      Quote from: Andchir at Apr 01, 2010, 05:26 PM

                      Quote from: Mproject at Apr 01, 2010, 04:44 PM

                      Just replaced all... and now I’m having problems... total price of products are not displaying in the basket undecided
                      Try again to download and update files (something corrected). A new parameter &priceTV - name of TV with the price (default `price`).

                      I erased all... downloaded again and installed it...
                      I added &priceTV=`cijena` (cijena is the name of my TV for the price) and nothing changed :/

                      EDIT: i tried working with default name "price" and works normal... so there is some issue with custom name TV. wink
                        BASE - Web Design Studio
                        MODX Ambassador

                        Website