Announcement

Collapse
No announcement yet.

Implementing Quantity Limits

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Implementing Quantity Limits

    I'm trying to implement quantity limits. I can get the quantity limits fields to read on the BASK page.

    I'm using:
    <mvt:item name="quanlimits" param="QuantityLimit_Load_Product( &mvt:item:code;, 0, &mvt:item:limits )" />
    &mvte:item:limits:max_quan;

    (Not using the minimum, so leaving it out.) I've assigned the quanlimits item to all checkout pages. I can read these on the PROD page. I am running the lines above in the for-each loop in the Basket Contents.

    #2
    In the basket array, the item iterator is usually 'group', and you are using the incorrect form of the variables (&mvt:... will output a variable to the screen, while l.settings:... will allow you to work with the variable's value). Also, I believe you need to use the product's id instead of the code. Try changing your code like so:

    Code:
    <mvt:item name="quanlimits" param="QuantityLimit_Load_Product( l.settings:group:id, 0, l.settings:group:limits )" />
    &mvte:group:limits:max_quan;

    Comment


      #3
      Does anyone know if the Quantity Limits module requires a ReadyTheme framework? I'm trying to implement on a CSSUI framework.

      Comment


        #4
        No specific ReadyTheme is required to use the Quantity Limits by Miva module, so you should be able to use if on your CSSUI site just fine.

        https://docs.miva.com/how-to-guides/...mits#functions
        Matt Zimmermann

        Miva Web Developer
        Alchemy Web Development
        https://www.alchemywebdev.com
        Site Development - Maintenance - Consultation

        Miva Certified Developer
        Miva Professional Developer

        https://www.dev4web.net | Twitter

        Comment


          #5
          I am trying to get this module because it looks like a great solution for me. However, the link to the module is not allowing me to add to a basket or checkout.
          https://apps.miva.com/quantity-limit...Category_Code=

          Marshall
          http://www.hmcdisplay.com
          http://www.churchonwheels.com

          Comment


            #6
            Okay, so it is an issue with the miva store working on safari. Worked fine when I checked out on Chrome. So, just FYI.
            Marshall
            http://www.hmcdisplay.com
            http://www.churchonwheels.com

            Comment

            Working...
            X