Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Does Anyone Use Numinix Product Fields with MSRP active?

    I have numinix product fields installed but never did anything with the msrp option until now. I installed msrp files and sql but I can't get it to show on the product page. I checked through the readme but don't see anything related to it. I don't know what I'm missing.

  2. #2
    Join Date
    Jan 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: Does Anyone Use Numinix Product Fields with MSRP active

    There are 3 files you need to modify:

    1. Edit /includes/templates/Your_Template/templates/tpl_product_info_display.php,

    Find:
    <!--bof Product Price block -->
    <div id="productAttributeBox">
    <h2 id="productPrices" class="productGeneral">
    After this line, add the following segment:
    <!-- bof display msrp Price -->
    <?php if ($products_msrp != '0.00' or $products_msrp != '') { ?>
    <div id="msrp" class="productGeneral biggerText"><?php echo "MSRP: ". $products_msrp; ?></div>
    <?php } ?>
    <!-- eof display msrp Price -->

    2. Edit /includes/modules/pages/product_info/header_php.php
    Find:
    // Begin Numinix Product Fields
    Add one more line:
    if (SHOW_PRODUCT_INFO_MSRP == 1) $npf_attributes .= ', p.products_msrp';

    Find and add p.products_msrp into below segment:
    // build query
    $products_query = "SELECT p.products_weight, pd.products_description2, p.products_msrp" . $npf_attributes . "
    FROM " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd
    WHERE p.products_id = " . (int)$_GET['products_id'] . "
    AND p.products_id = pd.products_id
    AND pd.language_id = '" . (int)$_SESSION['languages_id'] . "' LIMIT 1";

    Find and add one more line at the end:
    // store variables
    $products_msrp = $products->fields['products_msrp'];

    Find and add one more line at the end:
    // on/off status
    $flag_show_product_info_msrp = SHOW_PRODUCT_INFO_MSRP;

    3. Edit /includes/templates/Your_Template/css/styelsheet.css,
    Find and add #msrp class to show cross-line font on product display.
    .normalprice, .productSpecialPriceSale, #retailPrice, #msrp {
    text-decoration: line-through;
    font-style:italic;
    font-size:12px;
    color: #336699;
    }

    I did above changes and MSRP displayed fine for me. Hope this helps.

 

 

Similar Threads

  1. v154 Numinix Product Fields
    By adb34 in forum All Other Contributions/Addons
    Replies: 68
    Last Post: 24 May 2017, 08:09 PM
  2. Replies: 4
    Last Post: 24 Nov 2014, 01:58 AM
  3. v151 numinix product fields
    By adb34 in forum General Questions
    Replies: 2
    Last Post: 10 Sep 2014, 06:46 PM
  4. v139h How to add Numinix Product Fields (MSRP) to Product Listing Pages
    By Angeltown in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 7 Nov 2013, 11:00 PM
  5. v139h Anyone know how to make Easy Populate work with Numinix Product Fields?
    By scottm4321 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 25 Apr 2013, 01:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg