Thread: MSRP contrib

Page 20 of 40 FirstFirst ... 10181920212230 ... LastLast
Results 191 to 200 of 393
  1. #191
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Default Re: MSRP contrib

    List Price.......................................$99.99
    Last edited by autoace; 27 Mar 2010 at 03:22 PM. Reason: inserted the periods for spacing, otherwise no spacing
    Thank you,
    autoace

  2. #192
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: MSRP contrib

    Quote Originally Posted by autoace View Post
    List Price.......................................$99.99
    If you just want blank space in between use &nbsp; for each space you want. This cannot come inside php tags, so close the tag but in the spaces and add a new opening tag such as ?>&nbsp;&nbsp;&nbsp;&nbsp;<?php

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

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

    Default Re: MSRP contrib

    Quote Originally Posted by lankeeyankee View Post
    If you just want blank space in between use &nbsp; for each space you want. This cannot come inside php tags, so close the tag but in the spaces and add a new opening tag such as ?>&nbsp;&nbsp;&nbsp;&nbsp;<?php
    There is no way to do it via css?
    Last edited by autoace; 1 Apr 2010 at 03:46 AM.
    Thank you,
    autoace

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

    Default Re: MSRP contrib

    Quote Originally Posted by autoace View Post
    There is no way to do it via css?
    Sure, you need to wrap the whole block in a <div> and give it an ID, then each part that you want separate control over in their own <div> with unique IDs(right before the <span> tags would be a good place). Then you can float one right and one left within the wrapper. You can set the width of the container <div> that everything is wrapped in to whatever you want to fit your template layout, either a fixed width in pixels or a percentage of the main page container's width.

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

  5. #195
    Join Date
    Apr 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: MSRP contrib

    I'm new on zen-cart, I have some problem on it
    I have successfully install this moduke already, at my admin pages it did appear
    Tax Class: --none--Taxable Goods
    Products Price (Net):
    Products MSRP:
    Products Price (Gross )
    but when i enter the price there at the site it only show the products MSRP price, my site is www.mumnbaby.com
    is that anybody can help me on it?
    actually previously i did use dual pricing but now i wish to remove it and use this MSRP module.
    Thanks

  6. #196
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

    Default Re: MSRP contrib

    Quote Originally Posted by iZilla_Pod View Post
    I messed around with the code for awhile. Hopefully this will help someone.

    Heres the original piece of code for the contribution you will be replacing:
    PHP Code:
        if ($display_normal_price == 0) {
          
    // don't show the $0.00
          
    if(($display_msrp_price!='')&&($display_msrp_price!='0')){
          
    $save=$display_msrp_price-$display_normal_price;
              
    $final_display_price '<span class="smalltext1">' TEXT_PRODUCT_MSRP '<s>' $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_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')){
         
    $save=$display_msrp_price-$display_normal_price;
              
    $final_display_price '<span class="smalltext1">'.TEXT_PRODUCT_MSRP.'<s>'.$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>' ;
          }else{
              
    $final_display_price $show_normal_price $show_special_price $show_sale_price $show_sale_discount;
          }
        } 
    This will show the "You Save" with dollar amount only:
    PHP Code:
        if ($display_normal_price == 0) {
          
    // don't show the $0.00
          
    if(($display_msrp_price!='')&&($display_msrp_price!='0')){
          
    $save=$display_msrp_price-$display_normal_price;
              
    $final_display_price '<span class="smalltext1">' TEXT_PRODUCT_MSRP '<s>' $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'') . '</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')){
         
    $save=$display_msrp_price-$display_normal_price;
              
    $final_display_price '<span class="smalltext1">'.TEXT_PRODUCT_MSRP.'<s>'.$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'') . '</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;
          }
        } 
    This will show the "You Save" as a percentage only:
    PHP Code:
        if ($display_normal_price == 0) {
          
    // don't show the $0.00
          
    if(($display_msrp_price!='')&&($display_msrp_price!='0')){
          
    $save=$display_msrp_price-$display_normal_price;
              
    $final_display_price '<span class="smalltext1">' TEXT_PRODUCT_MSRP '<s>' $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)), 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')){
         
    $save=$display_msrp_price-$display_normal_price;
              
    $final_display_price '<span class="smalltext1">'.TEXT_PRODUCT_MSRP.'<s>'.$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)), 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;
          }
        } 
    This will remove the "You Save" line completely:
    PHP Code:
        if ($display_normal_price == 0) {
          
    // don't show the $0.00
          
    if(($display_msrp_price!='')&&($display_msrp_price!='0')){
          
    $save=$display_msrp_price-$display_normal_price;
              
    $final_display_price '<span class="smalltext1">' TEXT_PRODUCT_MSRP '<s>' $currencies->display_price($display_msrp_pricezen_get_tax_rate($product_check->fields['products_tax_class_id'])) . '</s></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')){
         
    $save=$display_msrp_price-$display_normal_price;
              
    $final_display_price '<span class="smalltext1">'.TEXT_PRODUCT_MSRP.'<s>'.$currencies->display_price($display_msrp_pricezen_get_tax_rate($product_check->fields['products_tax_class_id'])).'</s></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;
          }
        } 
    I'm also looking at moving the "You Save" line below the "MSRP Price" and "Our Price" so that it's in a more logical order. I need to get some rest right now though.
    I am looking to remove the "You save" line completely. I inserted the code above into includes/functions/functions_prices.php on line 294. But makes my site go blank. Am I changing the correct file?

    Thanks, Kim

  7. #197

    Default Re: MSRP contrib


  8. #198
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

    Default Re: MSRP contrib

    This is a great module! I finally was able to figure out how to remove 'You save" from the products page with the help of other posts.

    Now it looks like this:
    Retail Price: $39.95
    Our Price: $33.95

    Don't don't know where in includes/functions/functions_prices.php and how to change code for specials.

    Specials Look like this:
    Retail Price: $14.99
    Our Price: $14.79 $14.59
    Save: 3% off

    How do I remove -
    Save: 3% off

    I would like specials to look like:
    Retail Price: $14.99
    Our Price: $14.79
    Limited time Sale Price: $14.59

  9. #199
    Join Date
    Apr 2008
    Posts
    37
    Plugin Contributions
    0

    Default Re: MSRP contrib

    I don't understand Step 1 of the mod for MSRP. What exactly do we put in the SQL query under admin? I put in what is indicated in step one and I get errors.

    This is what I get -

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tableprefix_products ADD products_msrp DECIMAL( 15, 4 ) NOT NULL AFTER products' at line 1
    in:
    [ALTER TABLE zen_ tableprefix_products ADD products_msrp DECIMAL( 15, 4 ) NOT NULL AFTER products_price ;]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.


    What is the correct verbiage that I am supposed to use to get this part to work?

    Please advise. I would appreciate it. Thanks

  10. #200
    Join Date
    Jul 2007
    Location
    Roseville, Michigan
    Posts
    188
    Plugin Contributions
    0

    Default Re: MSRP contrib

    Is there a way to have an image show up behind our price and just for the product page?

 

 
Page 20 of 40 FirstFirst ... 10181920212230 ... 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