Announcement

Collapse
No announcement yet.

Attribute Prompt Colon

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

    Attribute Prompt Colon

    How do I get rid of the Attribute Prompt colon? I'm thinking it's compiled into something somewhere that I can't access. Any CSS tricks to hide it?
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    Re: Attribute Prompt Colon

    where? Everyplace I can think of its in the template. (Except emails?)
    Bruce Golub
    Phosphor Media - "Your Success is our Business"

    Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
    phosphormedia.com

    Comment


      #3
      Re: Attribute Prompt Colon

      I suppose it would be everywhere that an Attribute Prompt is at. But the first place I had is mind is the PATR screen > Product Attribute Template.
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment


        #4
        Re: Attribute Prompt Colon

        Do you not have a Product Attribute Template on your PATR page? It should be fully editable if the site isn't way behind on updates.

        Comment


          #5
          Re: Attribute Prompt Colon

          Originally posted by Leanne View Post
          Do you not have a Product Attribute Template on your PATR page? It should be fully editable if the site isn't way behind on updates.
          Yes, the site is up to date. The colon is still seems to be compiled in the code. This is the token from the Product Attribute Template:

          Code:
          &mvt:attribute:prompt;
          Leslie Kirk
          Miva Certified Developer
          Miva Merchant Specialist since 1997
          Previously of Webs Your Way
          (aka Leslie Nord leslienord)

          Email me: [email protected]
          www.lesliekirk.com

          Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

          Comment


            #6
            Re: Attribute Prompt Colon

            ...and there is no colon hiding next to that prompt? also, check to see if its in the prompt itself...seen lots of store owners do this.
            Bruce Golub
            Phosphor Media - "Your Success is our Business"

            Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
            phosphormedia.com

            Comment


              #7
              Re: Attribute Prompt Colon

              I've looked everywhere - there is no colon added in the attribute itself. Here's the Attribute Template Code:

              Code:
              <table width="100%" border="0" cellpadding="0" cellspacing="0">
              <mvt:foreach iterator="attribute" array="attributes">
                  <input type="hidden" name="Product_Attributes[&mvt:attribute:index;]:code" value="&mvte:attribute:code;">
                  <mvt:if expr ="l.settings:attribute:template_code NE 0">
                  <input type="hidden" name="Product_Attributes[&mvt:attribute:index;]:template_code" value="&mvte:attribute:template_code;">
                  </mvt:if>
                  <mvt:if expr = "l.settings:attribute:type EQ 'checkbox'">
                   <mvt:if expr = "l.settings:attribute:code EQ 'Discount'">
                    <input type="hidden" name="Product_Attributes[&mvt:attribute:index;]:value" value="Yes">
                   <mvt:else>
                  <tr>
                      <td>&nbsp;</td>
                      <td align="left" valign="middle">
                      
                          <mvt:if expr = "g.Product_Attributes[l.settings:attribute:index]:value">
                          <input type="checkbox" name="Product_Attributes[&mvt:attribute:index;]:value" value="Yes" checked>
                          <mvt:else>
                          <input type="checkbox" name="Product_Attributes[&mvt:attribute:index;]:value" value="Yes">
                          </mvt:if>
                          <mvt:if expr="l.settings:attribute:image">
                          <img src="&mvte:attribute:image;" alt="&mvte:attribute:prompt;">
                          <mvt:else>
                          <mvt:if expr="( l.settings:attribute:required ) AND ( l.settings:attribute:code EQ 'Discount' ) AND ( NOT NULL l.settings.customfield_values:customfields:discount_code  ) ">
                          <b>&mvt:attribute:prompt;</b>
                          <mvt:elseif expr="( l.settings:attribute:required ) AND ( l.settings:attribute:code != 'Discount' )">
                          <b>&mvt:attribute:prompt;</b>
                          <mvt:else>
                          <strong>&mvt:attribute:prompt;</strong></mvt:if>
                          </mvt:if>
                      
                      </td>
                  </tr>    
                  </mvt:if>
                  <mvt:else>
                  <tr>
                  <td>
                  <mvt:if expr="l.settings:attribute:image">
                          <img src="&mvte:attribute:image;" alt="&mvte:attribute:prompt;">
                          <mvt:else>
                          <mvt:if expr="l.settings:attribute:required">
                          <h2 style="margin-bottom:0px; padding-bottom:5px; line-height:normal; text-transform: uppercase;">&mvt:attribute:prompt;</h2>
                          <mvt:else>
                          <h2 style="margin-bottom:0px; padding-bottom:5px; line-height:normal; text-transform: uppercase;">&mvt:attribute:prompt;</h2></mvt:if>
                        </mvt:if>
                  
                  </td></tr>
                  
                  <tr>
                  <td bgcolor="#f5f5f5" style="border-top: 1px solid #999999; margin-right:10px;"></td>
                </tr>
                  
                  
                  <tr>
                      
                      <mvt:if expr="( (l.settings:attribute:type EQ 'text') AND (l.settings:attribute:code EQ 'Discount') )">
                      <td align="left" valign="top" bgcolor="#f5f5f5">
                          <div style="padding-left:15px; padding-right:15px; padding-top:3px; padding-bottom:5px;">
              <input type="text" name="Product_Attributes[&mvt:attribute:index;]:value" id="discount_code" value="&mvte:attribute:value;" size=40>
              &nbsp;&nbsp;            
              <span id="discount_status" style="font-weight: bold;">&nbsp;</span></div>
                      </td>
                              <mvt:elseif expr="( l.settings:attribute:type EQ 'text' )">
                      <td align="left" valign="top" bgcolor="#f5f5f5">
                          <div style="padding-left:15px; padding-right:15px; padding-top:3px; padding-bottom:5px;">
                          <input type="text" name="Product_Attributes[&mvt:attribute:index;]:value" value="&mvte:attribute:value;" size=40>
                          </div>
                           </td>
                      <mvt:elseif expr="l.settings:attribute:type EQ 'memo'">
                      <td align="left" valign="top" bgcolor="#f5f5f5">
                      <div style="padding-left:15px; padding-right:15px;">    
                          <textarea name="Product_Attributes[&mvt:attribute:index;]:value" rows=10 cols=58 wrap="on">&mvte:attribute:value;</textarea>
                          </div>
                      </td>
                      <mvt:elseif expr="l.settings:attribute:type EQ 'radio'">
                      <td align="left" valign="top" bgcolor="#f5f5f5"><div style="padding-left:5px; padding-right:15px;">
                          <table border="0">
                              <mvt:foreach iterator="option" array="attribute:options">
                              <tr>
                                  <td valign = "middle">
                                      <mvt:if expr="( ( g.Product_Attributes[l.settings:attribute:index]:value EQ 0 ) AND ( l.settings:option:id EQ l.settings:attribute:default_id ) ) OR
                                                              ( g.Product_Attributes[l.settings:attribute:index]:value EQ l.settings:option:code )">
                                      <input type="radio" name="Product_Attributes[&mvt:attribute:index;]:value" value="&mvte:option:code;" checked>
                                      <mvt:else>
                                      <input type="radio" name="Product_Attributes[&mvt:attribute:index;]:value" value="&mvte:option:code;">
                                      </mvt:if>
                                  </td><td valign = "middle">
                                      <mvt:if expr="l.settings:option:image">
                                      <img src="&mvte:option:image;" alt="&mvte:option:prompt;">
                                      <mvt:else>
                                          &mvte:option:prompt;
                                      </mvt:if>
                                  </td>
                              </tr>
                              </mvt:foreach>
                          </table></div>
                      </td>
                      <mvt:elseif expr="l.settings:attribute:type EQ 'select'">
                      <td align="left" valign="top" bgcolor="#f5f5f5">
                          <div style="padding-left:15px; padding-right:15px; padding-top:3px; padding-bottom:5px;">
                          <select name="Product_Attributes[&mvt:attribute:index;]:value">
                              <mvt:foreach iterator="option" array="attribute:options">
                                  <mvt:if expr="( ( g.Product_Attributes[l.settings:attribute:index]:value EQ 0 ) AND ( l.settings:option:id EQ l.settings:attribute:default_id ) ) OR ( g.Product_Attributes[l.settings:attribute:index]:value EQ l.settings:option:code )">
                              <option value="&mvte:option:code;" selected>&mvte:option:prompt;</option>
                                  <mvt:else>
                              <option value="&mvte:option:code;">&mvte:option:prompt;</option>
                                  </mvt:if>
                              </mvt:foreach>
                          </select>
                          </div>
                      </td>
                      </mvt:if>
                  </tr>
                  <tr>
                  <td bgcolor="#f5f5f5" style="border-bottom: 1px solid #999999; margin-right:10px;">    </td>
                </tr>
                <tr><td><br></td></tr>
                  </mvt:if>
              </mvt:foreach>
                  <input type="hidden" name="Product_Attribute_Count" value="&mvte:global:Product_Attribute_Count;">
              </table>
              Am I overlooking something here?
              Leslie Kirk
              Miva Certified Developer
              Miva Merchant Specialist since 1997
              Previously of Webs Your Way
              (aka Leslie Nord leslienord)

              Email me: [email protected]
              www.lesliekirk.com

              Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

              Comment


                #8
                Re: Attribute Prompt Colon

                I don't see it, but i'm pretty sure that the internal code for evaluating the attribute prompt does not add a colon....URL?
                Bruce Golub
                Phosphor Media - "Your Success is our Business"

                Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
                phosphormedia.com

                Comment


                  #9
                  Re: Attribute Prompt Colon

                  Did you look at the actual text in the prompt field for the products?
                  Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
                  Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
                  Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
                  Facebook http://www.facebook.com/EmporiumPlus
                  Twitter http://twitter.com/emporiumplus

                  Comment


                    #10
                    Re: Attribute Prompt Colon

                    Originally posted by wcw View Post
                    Did you look at the actual text in the prompt field for the products?
                    Yes.


                    So no one else has encountered this issue?
                    Leslie Kirk
                    Miva Certified Developer
                    Miva Merchant Specialist since 1997
                    Previously of Webs Your Way
                    (aka Leslie Nord leslienord)

                    Email me: [email protected]
                    www.lesliekirk.com

                    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                    Comment


                      #11
                      Re: Attribute Prompt Colon

                      Is this a wombat store using attribute inventory?

                      If so, it MIGHT be in the attribute machine. I noticed that our radio button attributes have a colon after the attribute Prompt

                      I am guessing the selector / checkbox attributes would have a colon after the prompt too, but I just don't have the time to look right now.

                      But see if you find anything in the attribute machine.

                      Mark
                      Mark Romero
                      ~~~~~~~~

                      Comment


                        #12
                        Re: Attribute Prompt Colon

                        This is still an issue on more than one store. There are no colon's in the Product Attribute Template layout. No Inventory Variants, no Inventory Kit Builder in use. For S&G I removed the

                        <mvt:item name="attributemachine" param="head" />

                        and the

                        <mvt:item name="attributemachine" param="body" />

                        To see if it "removed" the colons - I didn't think it would and it didn't.

                        So I'm thinking this is something that has been coded into the &mvt:attribute:prompt; token - so I guess I just have to site around and hope hundreds of other users hate this too?

                        Leslie
                        Leslie Kirk
                        Miva Certified Developer
                        Miva Merchant Specialist since 1997
                        Previously of Webs Your Way
                        (aka Leslie Nord leslienord)

                        Email me: [email protected]
                        www.lesliekirk.com

                        Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                        Comment


                          #13
                          Re: Attribute Prompt Colon

                          Oh come on, nobody is bothered by this?
                          Leslie Kirk
                          Miva Certified Developer
                          Miva Merchant Specialist since 1997
                          Previously of Webs Your Way
                          (aka Leslie Nord leslienord)

                          Email me: [email protected]
                          www.lesliekirk.com

                          Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                          Comment


                            #14
                            Re: Attribute Prompt Colon

                            I'm not fully following can you post a link so I can see it?
                            Thanks,

                            Rick Wilson
                            CEO
                            Miva, Inc.
                            [email protected]
                            https://www.miva.com

                            Comment


                              #15
                              Re: Attribute Prompt Colon

                              Okay, I know why some of you think I'm insane. I've discovered that if I'm using the Sebenza Product Page templates - I have control over the colon that appears after the attribute prompt.

                              But if I use the default PROD page template with the default Product Display > Product Attribute Template there is no control over the colon - as in , it's not in the Product Attribute template.

                              Default template uses this token:

                              &mvt:attribute:prompt;

                              Sebenza template uses this:

                              &mvt:attr:prompt;:

                              So for an example of a page that has the colon after the prompt, go here. That layout is using the token:

                              &mvt:attribute:prompt;

                              and the sites that are wanting to have control over the colon also are using the token

                              &mvt:attribute:prompt;

                              in the default layout Product Display > Product Attribute Template
                              Leslie Kirk
                              Miva Certified Developer
                              Miva Merchant Specialist since 1997
                              Previously of Webs Your Way
                              (aka Leslie Nord leslienord)

                              Email me: [email protected]
                              www.lesliekirk.com

                              Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                              Comment

                              Working...
                              X