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

    Can you say what shop you are using? How are imaged resized?

    Can you share your method?

    Frogaboy said to ask questions, so I did. Did anyone reply or even give me a suggestion for my site?

    That's what happens. You can't build a site waiting for weeks for someone to help for a critical problem.

    Not the case when i use a wordpress theme. There are answers there.


      • 36573
      • 173 Posts
      Sorry this post became more of a modx sales pitch then answering the questions.

      I use foxycart. I like that the checkout can look exactly like your site and that they handle all the security. I do not have any inventory tracking or order tracking in the site manager my clients track that through there email, It's actually more natural for them.

      As for resizing the images here is the exact code I use. phpthumbof is available in the package downloads. The onerror is an Output Filter, these are very powerful. If an images is not available it is replaced with a defualt image, I do tell my clients not to use large file images. There are a number of ways for them to be batch resized. (see:http://rtfm.modx.com/display/revolution20/Input+and+Output+Filters+%28Output+Modifiers%29)

      <img src="[[*image:phpthumbof=`w=200`]]" onerror="this.src = '/product-images/coming-soon.jpg'" alt="[[+pagetitle]]" />


      I use 5 templates for the site:

      a base template- this is only the framework design used on basic info pages.

      a home page template-this allows me to customize sections my client can input specials and such into.

      a product detail template - this uses a verity of TVs to create a product detail page. I can also use the importx package to upload products from a cvs. The one site has almost 800 products so far.

      a product sub category template- This use the getResources package to pull info from the resource's TVs to create a menu of categories.

      a product minishop - This uses the getResources package to displays a mini versions of each product using the info in the TVs. It can be ordered right from there or clicked to view the details page.

      a checkout page - customizes foxy cart to match the rest of the site,

      I use the Packman package to to make a nice ecommerce package that I can install in a new site and start to customize.

      I continue to tweak the package as I learn new things.

      One thing I did try to do was use the new articles package as a category for the products. I ran into too many issues and haven't quit figured it out. When I do I think it would be great. I should get with the author to solve them. Haven't had time.

      I think that's the first time I ever wrote out my process. Hope it helps. [ed. note: crecorn last edited this post 12 years ago.]
        Everything I know I learned on the internet. Saved me thousands in College tuition,
        • 14125
        • 62 Posts
        Thank you. Appreciate this.

        Were you able to get products showing in multiple categories, pulling by brand or product type?

        Thanks for the tip on image resizing.

        I might not need a shop because I don;t do checkout. All I really need is a catalogue with categories that pull the product details into a page, which I've accomplished.

        But I can't get products to show in multiple categories, and the product creation process is way too hard for my clients.


          • 34120
          • 236 Posts
          Quote from: crecorn at Apr 22, 2012, 03:43 PM
          I think that's the first time I ever wrote out my process. Hope it helps.
          Nice post crecorn, thanks for that. How do you manage your products and categories, do you use the file tree with a resource for each product?


          Quote from: crecorn at Apr 22, 2012, 03:43 PM
          One thing I did try to do was use the new articles package as a category for the products.
          I'm planning to try this soon, I will update with my progress.
          http://forums.modx.com/thread/?thread=76084&page=1


            • 14125
            • 62 Posts
            Thank you to everyone who replied here because you've given me the confidence to proceed with my site. I did get my product catalogue to work after literally months of learning. But It is too difficult for my clients to do products, and I can't figure out how to have the same product in 2 categories.

            Bobwal's thread looks good - I might spell out my situation there in detail.

            Thanks again.
              • 32316
              • 387 Posts
              and I can't figure out how to have the same product in 2 categories.

              How do you create / What is a
              a/ product
              b/ a category
              What I mean is is a product a modx resource and a category a resource with the 'container box' checked? Or are they stored in a custom table on the database, with a CMP or ...

              Or is
              and I can't figure out how to have the same product in 2 categories.
              not really a question or an appeal for help but just venting?
                • 14125
                • 62 Posts
                I am am asking how to do it with my setup.

                What I mean is is a product a modx resource and a category a resource with the 'container box' checked?
                Yes.

                So how do I have a resource in two containers?

                I'd just like to say what I've done was a huge task for me, taking months, and going step by step by asking questions here and doing a lot of thrashning about and gnashing of teeth.

                But I'm pretty proud of it.

                I just don't know if what I have is a foundation for a sound product catalogue with the potential to attach a cart,

                Many thanks,
                  • 32316
                  • 387 Posts
                  So how do I have a resource in two containers?
                  A symlink
                    • 14125
                    • 62 Posts
                    Ok very good, My question is:
                    (http://breakawaydistributing,com)

                    Is my way a good approach to this or should I go with a shop plugin like minishop.

                    The product pages are complex with a complex and variable form. Right now this is what I have to do to make a new product page.

                    Make a folder locally with the product image(s) and logo
                    Create a page in DW and design the page with the images, product copy and proper form
                    Copy the html
                    In MODX, duplicate a product
                    Rename it to the product name
                    Paste the html in the content area
                    Change the 2 hidden TVs for the product image and logo, which are grabbed by getresources for the category page.
                    I think that's it.

                    Is that too laborious? Is there a better way? Should I start over before adding 100 products?

                      • 32316
                      • 387 Posts
                      Well that certainly sounds like something I would not want to do (especially use DW!).

                      It is a question of how much time it would take to figure out and/or code a better way as opposed to using the same time energy just doing it. Then there is the future.

                      It seems like the entry could be done directly into modx, using TVs or MIGX (multiple items in one TV)