Thread: MSRP contrib

Page 14 of 40 FirstFirst ... 4121314151624 ... LastLast
Results 131 to 140 of 393
  1. #131
    Join Date
    Sep 2005
    Posts
    912
    Plugin Contributions
    1

    Default Re: MSRP contrib

    Figured that out, but how can i remove the strike through o nthe MSRp price?

  2. #132
    Join Date
    Oct 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: MSRP contrib

    i had a problem on my site with some % showing 10 decimal places instead of 2 like this 56.000000001% and it was because of part of the calculation was out side of the number function so if you change this in
    includes/functions/functions_price.php

    PHP Code:
    if ($display_normal_price == 0) {
          
    // don't show the $0.00
          
    if(($display_msrp_price!='')&&($display_msrp_price!='0')){
              
    $final_display_price '<span class="smalltext1"><s>'.TEXT_PRODUCT_MSRP.$currencies->display_price($display_msrp_pricezen_get_tax_rate($product_check->fields['products_tax_class_id'])).'</s></span><br><span class="save">'.TEXT_PRODUCT_SAVE number_format((($display_msrp_price -  $display_normal_price) / $display_msrp_price), 2'.''') * 100 '% '.'</span><br><span class="norm">'.TEXT_PRODUCT_OUR.$show_special_price $show_sale_price $show_sale_discount.'</span>' ;
          }else{
              
    $final_display_price $show_special_price $show_sale_price $show_sale_discount;
          }
        } else {
         if((
    $display_msrp_price!='')&&($display_msrp_price!='0')){
              
    $final_display_price '<span class="smalltext1"><s>'.TEXT_PRODUCT_MSRP.$currencies->display_price($display_msrp_pricezen_get_tax_rate($product_check->fields['products_tax_class_id'])).'</s></span><br><span class="save">'.TEXT_PRODUCT_SAVE number_format((($display_msrp_price -  $display_normal_price) / $display_msrp_price), 2'.''') * 100 '% '.'</span><br><span class="norm">'.TEXT_PRODUCT_OUR.$show_normal_price $show_special_price $show_sale_price $show_sale_discount.'</span>' ;
          }else{
              
    $final_display_price $show_normal_price $show_special_price $show_sale_price $show_sale_discount;
          }
        } 

    to this

    PHP Code:
    if ($display_normal_price == 0) {
          
    // don't show the $0.00
          
    if(($display_msrp_price!='')&&($display_msrp_price!='0')){
              
    $final_display_price '<span class="smalltext1"><s>'.TEXT_PRODUCT_MSRP.$currencies->display_price($display_msrp_pricezen_get_tax_rate($product_check->fields['products_tax_class_id'])).'</s></span><br><span class="save">'.TEXT_PRODUCT_SAVE . (((($display_msrp_price -  $display_normal_price) / $display_msrp_price)* 100 ), 2'.''') . '% '.'</span><br><span class="norm">'.TEXT_PRODUCT_OUR.$show_special_price $show_sale_price $show_sale_discount.'</span>' ;
          }else{
              
    $final_display_price $show_special_price $show_sale_price $show_sale_discount;
          }
        } else {
         if((
    $display_msrp_price!='')&&($display_msrp_price!='0')){
              
    $final_display_price '<span class="smalltext1"><s>'.TEXT_PRODUCT_MSRP.$currencies->display_price($display_msrp_pricezen_get_tax_rate($product_check->fields['products_tax_class_id'])).'</s></span><br><span class="save">'.TEXT_PRODUCT_SAVE . (((($display_msrp_price -  $display_normal_price) / $display_msrp_price)* 100 ), 2'.''') . '% '.'</span><br><span class="norm">'.TEXT_PRODUCT_OUR.$show_normal_price $show_special_price $show_sale_price $show_sale_discount.'</span>' ;
          }else{
              
    $final_display_price $show_normal_price $show_special_price $show_sale_price $show_sale_discount;
          }
        } 

    what i changed was this line

    PHP Code:
    number_format((($display_msrp_price -  $display_normal_price) / $display_msrp_price), 2'.''') * 100 
    to this

    PHP Code:
    number_format(((($display_msrp_price -  $display_normal_price) / $display_msrp_price)* 100 ), 2'.'''
    i hope this helps someone out there

  3. #133
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Idea or Suggestion Re: MSRP contrib

    Hi,

    Does anyone know if this mod (MSRP) and this mod (MAP Pricing ( m.a.p ) : Add to Cart to See Price) are compatible - can they both be installed on a ZC store?

    I am assuming that since they both deal with pricing there could be some conflicts with the code, anyway, does anyone know if they can both be installed on the same store. Is it at all possible?

    Thank you.
    Last edited by autoace; 22 Sep 2009 at 03:32 PM. Reason: links
    Thank you,
    autoace

  4. #134
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: MSRP contrib

    Quote Originally Posted by autoace View Post
    Hi,

    Does anyone know if this mod (MSRP) and this mod (MAP Pricing ( m.a.p ) : Add to Cart to See Price) are compatible - can they both be installed on a ZC store?

    I am assuming that since they both deal with pricing there could be some conflicts with the code, anyway, does anyone know if they can both be installed on the same store. Is it at all possible?

    Thank you.
    Yes, we use both. You have to be careful when merging the code in functions_prices since they both modify the same function, but it works well.

    Zen Cart and it's community are the best!!

  5. #135
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

    Default Re: MSRP contrib

    Quote Originally Posted by lankeeyankee View Post
    Yes, we use both. You have to be careful when merging the code in functions_prices since they both modify the same function, but it works well.
    I would like to see your site for MAP pricing.

    Kim

  6. #136
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: MSRP contrib

    Hi I want to know how I can add and change all prices with easypopulate. I added a field v_products_msrp_price but that doesn't work or add my prices in the database for products_msrp. Thanks in advance.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  7. #137
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: MSRP contrib

    Quote Originally Posted by countrycharm View Post
    Hi I want to know how I can add and change all prices with easypopulate. I added a field v_products_msrp_price but that doesn't work or add my prices in the database for products_msrp. Thanks in advance.
    It should just be v_products_msrp. But, if you haven't altered EP then it won't work. In case you haven't seen it, I created a tutorial on how to add fields to EP, you can read it here

    Zen Cart and it's community are the best!!

  8. #138
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: MSRP contrib

    Quote Originally Posted by kburner View Post
    I would like to see your site for MAP pricing.

    Kim
    PM me for the address.

    Zen Cart and it's community are the best!!

  9. #139
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: MSRP contrib

    Quote Originally Posted by lankeeyankee View Post
    It should just be v_products_msrp. But, if you haven't altered EP then it won't work. In case you haven't seen it, I created a tutorial on how to add fields to EP, you can read it here
    This does not work for me. I still for some strange reason get it to upload my prices for msrp. Do I have to change the code for MSRP before it will work right. What I mean change it like the above says to. I see I have to put the higher cost of a item in msrp and what I'm selling it for in the Products Price to get it to show the lower price. Seems like this works backwards. Thanks for you help. I have tried the easy_populate_csv_1-2-5-6-csv-2
    easy_populate 1-2-5-5, and I have the bought version easypopulate_3.0.3_inc_patch1. I can't get none of them to work.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  10. #140
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: MSRP contrib

    Never mind I got the version I bought to work easypopulate_3.0.3_inc_patch1. Thanks anyway.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

 

 
Page 14 of 40 FirstFirst ... 4121314151624 ... LastLast

Similar Threads

  1. v151 MSRP Display Mod
    By Larry0652 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 26 Oct 2017, 12:36 PM
  2. v154 Msrp
    By SilverHD in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 6 Oct 2015, 09:00 AM
  3. v139h MSRP Add-on
    By MortalWombat in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 23 Aug 2012, 01:11 AM
  4. Msrp display issue
    By CRYSTALDOLL in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 10 Aug 2009, 02:40 PM
  5. MSRP Contrib, can anyone install it for me ?
    By Spdster in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 14 Jan 2009, 08:06 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR