Missing Attributes and Custom Product Fields within Mini-Masket.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pixeljuice
    Mivite

    • May 2006
    • 157

    #1

    Missing Attributes and Custom Product Fields within Mini-Masket.

    What items need to be activated on my informational pages (like /about-us) so that my added custom product fields will show in the Mini-Basket?

    I've added the following to the mini-basket coding and on the product detail page it's all as it should be. That's it though. On the category, informational and checkout pages, the custom fields don't show.

    Code:
    <mvt:if expr="NOT ISNULL l.settings:product:customfield_values:customfields:Color">   
       <br />
    <span class="bold">&mvt:customfield_names:customfields:Color;:</span> &mvt:product:customfield_values:customfields:Color;
       </mvt:if>
    <mvt:if expr="NOT ISNULL l.settings:product:customfield_values:customfields:Size">
       <br />
    <span class="bold">&mvt:customfield_names:customfields:Size;:</span> &mvt:product:customfield_values:customfields:Size;
       </mvt:if>
    Last edited by pixeljuice; 04-16-13, 06:03 AM.
  • pixeljuice
    Mivite

    • May 2006
    • 157

    #2
    Re: Missing Attributes and Custom Product Fields within Mini-Masket.

    Amended the above. I think that it's just the custom product fields that only show on the product detail page. Need to have those show on other pages.

    Comment

    • Mark Hood
      Mega Mivite








      • Nov 2006
      • 2560

      #3
      Re: Missing Attributes and Custom Product Fields within Mini-Masket.

      Edit the CTGY display page and make sure the custom fields are assigned on the category product display tab


      For the basket page there is also the assignment on the basket contents tab
      Mark Hood
      Vermont Gear

      Comment

      • pixeljuice
        Mivite

        • May 2006
        • 157

        #4
        Re: Missing Attributes and Custom Product Fields within Mini-Masket.

        Hi Mark,

        Yep. The custom fields are assigned on CTGY. Still, I've tried a few things and I haven't hit on the correct syntax yet. None of the following lines have allowed the custom product fields to show in the mini-basket while on the CTGY page.

        Code:
        <!-- START CUSTOM FIELDS FOR PRODUCT PAGES -->                                     <mvt:if expr="NOT ISNULL l.settings:product:customfield_values:customfields:Color">
                                                 <br />
                                              <span class="bold">&mvt:customfield_names:customfields:Color;:</span> &mvt:product:customfield_values:customfields:Color;
                                                 </mvt:if>
                                              <mvt:if expr="NOT ISNULL l.settings:product:customfield_values:customfields:Size">
                                                 <br />
                                              <span class="bold">&mvt:customfield_names:customfields:Size;:</span> &mvt:product:customfield_values:customfields:Size;
                                                 </mvt:if>
        <!-- END CUSTOM FIELDS FOR PRODUCT PAGES -->
        
        
        <!-- START CUSTOM FIELDS FOR CTGY PAGES -->
                                             <mvt:if expr="NOT ISNULL l.settings:category_listing:customfield_values:customfields:Color">
                                                 <br />
                                              <span class="bold">&mvt:customfield_names:customfields:Color;:</span> &mvt:category_listing:customfield_values:customfields:Color;
                                                 </mvt:if>
                                              <mvt:if expr="NOT ISNULL l.settings:category_listing:customfield_values:customfields:Size">
                                                 <br />
                                              <span class="bold">&mvt:customfield_names:customfields:Size;:</span> &mvt:category_listing:customfield_values:customfields:Size;
                                                 </mvt:if>
        <!-- END CUSTOM FIELDS FOR CTGY PAGES -->    
             
        <!-- START CUSTOM FIELDS FOR CHECKOUT PAGES -->
                                             <mvt:if expr="NOT ISNULL l.settings:item:customfield_values:customfields:Color">
                                                 <br />
                                              <span class="bold">&mvt:customfield_names:customfields:Color;:</span> &mvt:item:customfield_values:customfields:Color;
                                                 </mvt:if>
                                              <mvt:if expr="NOT ISNULL l.settings:item:customfield_values:customfields:Size">
                                                 <br />
                                              <span class="bold">&mvt:customfield_names:customfields:Size;:</span> &mvt:item:customfield_values:customfields:Size;
                                                 </mvt:if>
        <!-- END CUSTOM FIELDS FOR CHECKOUT PAGES -->
        I figured out that the issue on the checkout pages was that I had to add a check for the custom fields using item instead of product for l.settings.

        Also still trying to figure out what will allow custom fields to show in the mini-basket while on the informational pages.

        Tim

        Comment

        • Bruce - PhosphorMedia
          Developer Partner











          • Mar 2006
          • 11256

          #5
          Re: Missing Attributes and Custom Product Fields within Mini-Masket.

          I believe you will have to find some way of loading the custom fields independently as Merchant has no way of knowing what product's custom fields to load. In Cat/Prod pages, it knows this because in both cases, you calling a "product load" sequence.

          So, within the mini-basket itself, you'd need to use something like Tool Belt or Tool Kit to call the custom field inside the basket item list, using the product code of the basket item.
          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

          Working...
          X