Hiding DocMart elements on a Order Form - MKB 0095

    Follow

    DocMart users have the ability to hide some or all of the DocMart elements on their Job Forms.

    1) Begin by adding a script field to your Job Form...

    KBarticleshot1.jpg

    2) ...then copy and paste the script below into the field value box:

    DocMartScreenShot3.jpg

    To hide "In Stock":

    <script type="text/javascript"> 
    <!-- 
    $(function () { 
    var style = $('<style>.dm-stock { display:none; }</style>'); 
    $('html > head').append(style); 
    }); 
    //--> 
    </script>

    NOTE: "dm-stock" shown above is bolded and can be substituted for any of the items listed below:  

    A) dm-stock - In Stock link 
    B) dm-history - History link 
    C) dm-price - price 
    D) dm-taxable - taxable flag 
    E) dm-weight - weight 
    F) dm-min - min order amount 
    G) dm-max - max order amount 
    H) dm-incr - order increment amount 
    I) dm-attr - All the above.

    A visual key to the items listed above is as follows:

    HideTextScreenShot.jpg 

    You can also hide this information site-wide by placing the following information within the SEO/Code area: 

    <style> 
    .dm-attr {display:none;} 
    .dm-total {display:none;} 
    </style>

    You access this area by going to MyAccount > Site Settings > SEO/Code > Code   

    SEOCode.jpg

    Comments

    Powered by Zendesk