Thread: MSRP contrib

Page 35 of 40 FirstFirst ... 253334353637 ... LastLast
Results 341 to 350 of 393
  1. #341
    Join Date
    Jul 2014
    Location
    los angeles CA
    Posts
    6
    Plugin Contributions
    0

    Default Re: MSRP contrib

    In trying the MSRP display, the file at
    includes/functions/functions_price.php

    is showing an error, and the page is empty

    the logs show that it's an Unexpected end of file error

    I'm not sure what the issue is, and if anyone has a working copy of that file I'd love to take a look at it...

    the file I downloaded has an error someplace.... I'll keep looking... thanks for any help

    zen cart version 1.5.1 latest version of MSRP display mod
    Last edited by jonkip; 10 Jul 2014 at 04:46 AM. Reason: version

  2. #342
    Join Date
    Jan 2015
    Location
    Alhambra, California, United States
    Posts
    6
    Plugin Contributions
    0

    Default Re: MSRP contrib

    Quote Originally Posted by jonkip View Post
    In trying the MSRP display, the file at
    includes/functions/functions_price.php

    is showing an error, and the page is empty

    the logs show that it's an Unexpected end of file error

    I'm not sure what the issue is, and if anyone has a working copy of that file I'd love to take a look at it...

    the file I downloaded has an error someplace.... I'll keep looking... thanks for any help

    zen cart version 1.5.1 latest version of MSRP display mod


    same here...anyone know what the issue is?

    log says:

    [29-Jan-2015 15:01:31 America/Chicago] PHP Parse error: syntax error, unexpected end of file in /root/includes/functions/functions_prices.php on line 1408

  3. #343
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: MSRP contrib

    Quote Originally Posted by Jonathan Grant View Post
    same here...anyone know what the issue is?

    log says:

    [29-Jan-2015 15:01:31 America/Chicago] PHP Parse error: syntax error, unexpected end of file in /root/includes/functions/functions_prices.php on line 1408
    I think I found the error. There is a closing bracket missing.
    find
    PHP Code:
     }}else{
     
    $final_display_price $show_normal_price $show_special_price $show_sale_price $show_sale_discount;
     }
     }
     
     
    // end modifications ================= 
    and add a "}"
    PHP Code:
     }}else{
     
    $final_display_price $show_normal_price $show_special_price $show_sale_price $show_sale_discount;
     }
     }
      }
     
    // end modifications ================= 

  4. #344
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: MSRP contrib

    Design75 is right. Same thing was reported and a fix posted just a couple posts earlier: http://www.zen-cart.com/showthread.p...69#post1243869
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #345
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: MSRP contrib

    I posted an updated version in the downloads

  6. #346
    Join Date
    Jul 2006
    Location
    Johannesburg
    Posts
    447
    Plugin Contributions
    1

    Default Re: MSRP contrib

    Quote Originally Posted by Design75 View Post
    I posted an updated version in the downloads
    Hi, the latest update is missing the following just before the closing bracket in functions_prices.php around line 330.
    PHP Code:
        return $final_display_price $free_tag $call_tag
    Without the "Return" call no prices are being displayed. Could you please update the contribution accordingly and re-upload.

    BTW, thank you for making this available to the community and for your time and effort in maintaining this plugin.

  7. #347
    Join Date
    Jul 2006
    Location
    Johannesburg
    Posts
    447
    Plugin Contributions
    1

    Default Re: MSRP contrib

    I have noticed another issue with this plugin which has to do with the pricing display.

    If your store is setup to show prices with VAT (tax) included the plugin will display the saving incorrectly:

    Retail Price: R3,990.00
    You save: R526.32 (15%)
    Our Price: R3,390.00

    The store is setup to add a standard 14% VAT to all prices and the 526.32 is the saving excluding the 14% VAT.

    This should read:

    Retail Price: R3,990.00
    You save: R600.00 (15%)
    Our Price: R3,390.00

    Anybody else having the same issue?

  8. #348
    Join Date
    Jul 2006
    Location
    Johannesburg
    Posts
    447
    Plugin Contributions
    1

    Default Re: MSRP contrib

    Sorry folks, I tried to edit the previous post but was too late.

    I made the following changes and it seems to work for my specific requirements. Hope this is useful to someone else as well.

    In functions_prices.php find

    PHP Code:
            $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 $currencies->display_price($save'') . '&nbsp;&nbsp;(' 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>'
    and replace with

    PHP Code:
            $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 $currencies->display_price($savezen_get_tax_rate($product_check->fields['products_tax_class_id'])) . '&nbsp;&nbsp;(' 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>'
    The discount is now displaying with the VAT included.

  9. #349
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: MSRP contrib

    I have submitted an updated version for ZC 1.5.4 - it should be available for download in a few days.

  10. #350
    Join Date
    Mar 2008
    Location
    USA
    Posts
    560
    Plugin Contributions
    0

    Default Re: MSRP contrib

    frank18:

    Thanks for the heads up and the contribution. I will be looking for it!

    Silver

 

 
Page 35 of 40 FirstFirst ... 253334353637 ... 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