Announcement

Collapse
No announcement yet.

Mobile - Product page - "+" and "-" not working

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

    Mobile - Product page - "+" and "-" not working

    The + and - buttons aren't working on mobile. I can't find any occurrence of this in forum. Anyone have this issue before?

    #2
    I've had trouble with those buttons in past projects when customizing the PROD page. Apparently they are tightly integrated with the Javascript that controls other parts of the page. I usually end up just removing the buttons. The clients don't mind; the buttons don't add much value to the page. I mean, how difficult is it to type a number? Sorry I don't have a better solution for you.
    Kent Multer
    Magic Metal Productions
    http://TheMagicM.com
    * Web developer/designer
    * E-commerce and Miva
    * Author, The Official Miva Web Scripting Book -- available on-line:
    http://www.amazon.com/exec/obidos/IS...icmetalproducA

    Comment


      #3
      Thanks very much for the info, appreciate it!

      Comment


        #4
        I ran into a similar issue semi-recently described here: https://www.miva.com/forums/forum/de...371#post718371

        Here are a few things to check:

        Are there any javascript errors in the browser console?

        Does the site have the "Defer Loading of JavaScript" setting checked (active) under User Interface > Global Settings > Search Settings?

        On the PROD template under the "Product Display Layout Image Dimensions" section, is the "Legacy Fallback Image" setting set to anything other than "None"?

        If the "Defer Loading of JavaScript" setting is active, then you might want to try setting the "Legacy Fallback Image" to "None" and see if that fixes it.

        You may also want to try that even if the "Defer Loading of JavaScript" setting is not active.

        If you still need to use either of the Legacy Image Fields within the Template or "Product Display Layout" section, you can use a conditional like these:

        Full-sized Image:
        Code:
        <mvt:if expr="NOT ISNULL l.settings:product:image">
            <img src="&mvt:product:image;" alt="&mvte:product:name;" title="&mvte:product:name;" />
        <mvt:else>
            <img src="graphics/en-US/cssui/blank.gif" alt="&mvte:product:name;" title="&mvte:product:name;" />
        </mvt:if>
        Thumbnail Image:
        Code:
        <mvt:if expr="NOT ISNULL l.settings:product:thumbnail">
            <img src="&mvt:product:thumbnail;" alt="&mvte:product:name;" title="&mvte:product:name;" />
        <mvt:else>
            <img src="graphics/en-US/cssui/blank.gif" alt="&mvte:product:name;" title="&mvte:product:name;" />
        </mvt:if>
        Last edited by SidFeyDesigns; 04-10-23, 07:49 AM.
        Nick Harkins
        www.loveisarose.com

        Comment


          #5
          Thanks for your suggestions.

          - No javascript errors in console
          - defer loading of javascript is NOT checked
          - Prod Display - Legacy Fallback Image was "Full-Sized", changed to "none" (no change)

          I'll keep looking, thanks.

          Comment

          Working...
          X