MSRP contrib

Views: 82,052

Results 161 to 180 of 393
2 Dec 2009, 1:48 AM
#161
charinlasvegas avatar

charinlasvegas

Zen Follower

Join Date:
Jan 2009
Location:
Vegas Baby!
Posts:
311
Plugin Contributions:
0

MSRP contrib

barco57 - thanks, I'll take a look at that & see if I can figure it out.

countrycharm, if I get it working I'll post the changed code.

Completed: BellaFavori.com
In Progress: WeddingDivasLV.com
Coming Soon: ???

2 Dec 2009, 2:09 AM
#162
charinlasvegas avatar

charinlasvegas

Zen Follower

Join Date:
Jan 2009
Location:
Vegas Baby!
Posts:
311
Plugin Contributions:
0

Re: MSRP contrib

ahhh, got it :smile:

Here is the changed code block (fixed the <br />'s too:

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_price, zen_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><br />
		  <span class="save">' . TEXT_PRODUCT_SAVE . $currencies->display_price($save, '') . '</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_price, zen_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>
		  <br /><span class="save">'.TEXT_PRODUCT_SAVE . $currencies->display_price($save, '') . '</span>' ;
      }else{
          $final_display_price = $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;
      }
    }



    // If Free, Show it

Completed: BellaFavori.com
In Progress: WeddingDivasLV.com
Coming Soon: ???

2 Dec 2009, 4:42 AM
#163
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: MSRP contrib

CharInLasVegas:

ahhh, got it :smile:

Here is the changed code block (fixed the <br />'s too:

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_price, zen_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><br />
<span class="save">' . TEXT_PRODUCT_SAVE . $currencies->display_price($save, '') . '</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_price, zen_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>
<br /><span class="save">'.TEXT_PRODUCT_SAVE . $currencies->display_price($save, '') . '</span>' ;
}else{
$final_display_price = $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;
}
}

// If Free, Show it

Thank You. I have one more question, I see the strike through is just through the price. How would I get it to go all away through the retail price part also if that makes sense. Thanks

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation

2 Dec 2009, 1:57 PM
#164
charinlasvegas avatar

charinlasvegas

Zen Follower

Join Date:
Jan 2009
Location:
Vegas Baby!
Posts:
311
Plugin Contributions:
0

Re: MSRP contrib

countrycharm:

Thank You. I have one more question, I see the strike through is just through the price. How would I get it to go all away through the retail price part also if that makes sense. Thanks

I think

instead of:

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_price, zen_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><br />
          <span class="save">' . TEXT_PRODUCT_SAVE . $currencies->display_price($save, '') . '</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_price, zen_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>
          <br /><span class="save">'.TEXT_PRODUCT_SAVE . $currencies->display_price($save, '') . '</span>' ;
      }else{
          $final_display_price = $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;
      }
    }

use

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_price, zen_get_tax_rate($product_check->fields['products_tax_class_id'])) . '</s></span><br />
          <span class="smalltext1">' . TEXT_PRODUCT_OUR.$show_special_price . $show_sale_price . $show_sale_discount.'</span><br />
          <span class="save">' . TEXT_PRODUCT_SAVE . $currencies->display_price($save, '') . '</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_price, zen_get_tax_rate($product_check->fields['products_tax_class_id'])).'</s></span><br />
          <span class="smalltext1">'.TEXT_PRODUCT_OUR.$show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount.'</span>
          <br /><span class="save">'.TEXT_PRODUCT_SAVE . $currencies->display_price($save, '') . '</span>' ;
      }else{
          $final_display_price = $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;
      }
    }

But I think this might affect all of your prices even if not using an msrp for the product.

Completed: BellaFavori.com
In Progress: WeddingDivasLV.com
Coming Soon: ???

2 Dec 2009, 4:11 PM
#165
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: MSRP contrib

CharInLasVegas:

I think

instead of:

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_price, zen_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><br />
<span class="save">' . TEXT_PRODUCT_SAVE . $currencies->display_price($save, '') . '</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_price, zen_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>
<br /><span class="save">'.TEXT_PRODUCT_SAVE . $currencies->display_price($save, '') . '</span>' ;
}else{
$final_display_price = $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;
}
}

> 
> ```
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_price, zen_get_tax_rate($product_check->fields['products_tax_class_id'])) . '</s></span><br />
          <span class="smalltext1">' . TEXT_PRODUCT_OUR.$show_special_price . $show_sale_price . $show_sale_discount.'</span><br />
          <span class="save">' . TEXT_PRODUCT_SAVE . $currencies->display_price($save, '') . '</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_price, zen_get_tax_rate($product_check->fields['products_tax_class_id'])).'</s></span><br />
          <span class="smalltext1">'.TEXT_PRODUCT_OUR.$show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount.'</span>
          <br /><span class="save">'.TEXT_PRODUCT_SAVE . $currencies->display_price($save, '') . '</span>' ;
      }else{
          $final_display_price = $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;
      }
    }
```But I think this might affect all of your prices even if not using an msrp for the product.

I figured it out. Its actually where the <s>  is placed that makes it work were you want it to be. Thank you .

    > // 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"><s>'. TEXT_PRODUCT_MSRP.$currencies->display_price($display_msrp_price, zen_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><br />
>           <span class="save">' . TEXT_PRODUCT_SAVE . $currencies->display_price($save, '') . '</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"><s>'.TEXT_PRODUCT_MSRP.$currencies->display_price($display_msrp_price, zen_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>
>           <br /><span class="save">'.TEXT_PRODUCT_SAVE . $currencies->display_price($save, '') . '</span>' ;
>       }else{
>           $final_display_price = $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;
>       }
>     }
> 
> 
> 
>     // If Free, Show it

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation

4 Dec 2009, 6:56 PM
#166
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: MSRP contrib

lankeeyankee:

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.

@lankeeyankee

I am now trying to merge the files between the MAP PRICING and MSRP mods and have a couple of questions I hope you can help me with:

  1. is function_prices the only file that modifies the same code?
  2. I have simply been adding the code snippets marked by his comments to my pages. Will that work or do I have to be more precise?
  3. I noticed in update_product that some of the coding is just a bit different and I think it relates to the dbase.

For example: this is code from the MAP PRICING MOD:

'manufacturers_id' => zen_db_prepare_input($_POST['manufacturers_id']),

and this is code from my file:

'manufacturers_id' => $manufacturers_id,

I do not have a dbase prefix, what is the best course of action here?

Any help you can provide is greatly appreciated.

Thank you,
autoace

15 Dec 2009, 4:31 PM
#167
hater avatar

hater

New Zenner

Join Date:
Sep 2009
Posts:
6
Plugin Contributions:
0

Re: MSRP contrib

Hello.
I would like to ask you about this Contrib MSRP.
I use prices in the eshop with a tax and i would like to use tax in field YOU SAVE.
Now this works without tax included in savings (not show saved price with tax). Does everybody know how can i do it.
PLEASE
Thank you.
I am sorry for my english. I am foreigner

16 Dec 2009, 3:09 PM
#168
charinlasvegas avatar

charinlasvegas

Zen Follower

Join Date:
Jan 2009
Location:
Vegas Baby!
Posts:
311
Plugin Contributions:
0

Re: MSRP contrib

HATER:

Hello.
I would like to ask you about this Contrib MSRP.
I use prices in the eshop with a tax and i would like to use tax in field YOU SAVE.
Now this works without tax included in savings (not show saved price with tax). Does everybody know how can i do it.
PLEASE
Thank you.
I am sorry for my english. I am foreigner

I think there is a solution for that a few pages back, go through the older posts on this thread.

Completed: BellaFavori.com
In Progress: WeddingDivasLV.com
Coming Soon: ???

17 Dec 2009, 8:03 AM
#169
hater avatar

hater

New Zenner

Join Date:
Sep 2009
Posts:
6
Plugin Contributions:
0

Re: MSRP contrib

I search for solution of this problem in this thread by fourtimes and try some examples from there but i dont find right solution.
I think that is a right option of displaying in this. (from readme.txt of this contrib).:

Find:

  if ($display_normal_price == 0) {
    // don't show the $0.00
    $final_display_price = $show_special_price . $show_sale_price . $show_sale_discount;
  } else {
    $final_display_price = $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;
  } 

Replace with:

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_price, zen_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_price, zen_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;
}
}

Is it true?
And Now i have this text instead of text in green colour:

if ($display_normal_price == 0) {
// don't show the $0.00
if(($display_msrp_price!='')&&($display_msrp_price!='0')){
if ($display_normal_price = $display_msrp_price){
$final_display_price = $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;
}
else
{
$save=$display_msrp_price-$display_normal_price;

//-DISPLAY WITH MONEY SAVE and WITHOUT PERCENT SAVE-//
$final_display_price = '<span class="smalltext1">' . TEXT_PRODUCT_MSRP . '<s>' . $currencies->display_price($display_msrp_price, zen_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>' ;

//-DISPLAY MONEY SAVE and WITH PERCENT SAVE-//
//$final_display_price = '<span class="smalltext1">' . TEXT_PRODUCT_MSRP . '<s>' . $currencies->display_price($display_msrp_price, zen_get_tax_rate($product_check->fields['products_tax_class_id'])) . '</s></span><br><span class="save">' . TEXT_PRODUCT_SAVE .$currencies->display_price($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')){
if ($display_normal_price >= $display_msrp_price){
$final_display_price = $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;
}
else{
$save=$display_msrp_price-$display_normal_price;

//-DISPLAY MONEY SAVE and WITHOUT PERCENT SAVE-//
$final_display_price = '<span class="smalltext1">'.TEXT_PRODUCT_MSRP.'<s>'.$currencies->display_price($display_msrp_price, zen_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>' ;

//-DISPLAY MONEY SAVE and WITH PERCENT SAVE-//
//$final_display_price = '<span class="smalltext1">'.TEXT_PRODUCT_MSRP.'<s>'.$currencies->display_price($display_msrp_price, zen_get_tax_rate($product_check->fields['products_tax_class_id'])).'</s></span><br><span class="save">'.TEXT_PRODUCT_SAVE .$currencies->display_price($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;
}
}
The text in blue color is off for this time.
Thank you for your help

18 Dec 2009, 2:33 PM
#170
hater avatar

hater

New Zenner

Join Date:
Sep 2009
Posts:
6
Plugin Contributions:
0

Re: MSRP contrib

But this solution dont show save with icluded tax.
Do you have other solution for this problem please? I dont know how make it right
Thank you

28 Dec 2009, 9:41 PM
#171
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: MSRP contrib

This mod works great! I am using it with product - general. Since, I have a bookstore with books and other items. I have product - book mod working and would like to add this one to it. All products should have same layout if book or not.

I can not get this mod to work with product - books. What files need to be modified? I am guessing sql should have something added to it.

Does anyone know what to do? I looked thru forum and could not find solution.

Thanks, Kim

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

11 Jan 2010, 3:40 AM
#172
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

Re: MSRP contrib

Great mod!

.... except it needs to work with MAP pricing somehow or only work when logged in.

Cheers!
v2.2.1

11 Jan 2010, 5:31 PM
#173
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: MSRP contrib

kburner:

This mod works great! I am using it with product - general. Since, I have a bookstore with books and other items. I have product - book mod working and would like to add this one to it. All products should have same layout if book or not.

I can not get this mod to work with product - books. What files need to be modified? I am guessing sql should have something added to it.

Does anyone know what to do? I looked thru forum and could not find solution.

Thanks, Kim

Anyone know how to get his mod working with product-book mod?:frusty:

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

14 Jan 2010, 6:50 PM
#174
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: MSRP contrib

kburner:

Anyone know how to get his mod working with product-book mod?:frusty:

I am still trying to get this working with Book product. Anyone know what file to modify?:frusty::frusty:

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

18 Jan 2010, 4:27 PM
#175
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: MSRP contrib

kburner:

I am still trying to get this working with Book product. Anyone know what file to modify?:frusty::frusty:

I took this on with my test store. I followed the readme file for MRSP and tried to apply to product-book files.
Made these changes to get MSRP to work with product - book.

Sql file:

Originally added with product - general. I did not make any changes or additions to sql.

ALTER TABLE products ADD products_msrp DECIMAL( 15, 4 ) NOT NULL AFTER products_price ;

  1. admin/includes/lang/english/product_book. manually installed to end of file...

define('TEXT_PRODUCTS_MSRP', ' MSRP: ');
define('TEXT_PRODUCTS_OUR_PRICE', ' Our Price: ');
define('TEXT_PRODUCTS_SALE', ' Sale Price: ');
define('TEXT_PRODUCTS_SAVINGS', ' You Save: ');
define('TEXT_PRODUCTS_PRICE_MSRP', 'Products MSRP:');

  1. admin/modules/update_product.php
    This file does not have product_book one. Made changes to
    admin/includes/modules/update_product.php

Added:
$tmp_value = zen_db_prepare_input($_POST['products_msrp']);
$products_msrp = (!zen_not_null($tmp_value) || $tmp_value=='' || $tmp_value == 0) ? 0 : $tmp_value;
$tmp_value = zen_db_prepare_input($_POST['products_price']);
$products_price = (!zen_not_null($tmp_value) || $tmp_value=='' || $tmp_value == 0) ? 0 : $tmp_value;

Added:
'products_msrp' => $products_msrp,

  1. admin/modules/product/collect_info.php This file does not have product_book one. Changes made to
    admin/includes/modules/product/collect_info.php

Added:
'products_msrp' => '',

and added:
p.products_image, p.products_price, p.products_msrp, p.products_virtual, p.products_weight,

Could not find...

<tr bgcolor="#ebebff"> <td class="main"><?php echo TEXT_PRODUCTS_PRICE_GROSS; ?></td> <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_input_field('products_price_gross', $pInfo->products_price, 'OnKeyUp="updateNet()"'); ?></td> </tr>

Therefore...did NOT add
and add immediately above it:

      <tr bgcolor="#ebebff">
        <td class="main"><?php echo TEXT_PRODUCTS_PRICE_MSRP; ?></td>
        <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_input_field('products_msrp', $pInfo->products_msrp, ''); ?></td>
      </tr>
  1. includes/functions/functions_prices.php
    Did not make any changes to file and did not see one for product_book

  2. includes/languages/english/product_book.php
    Added:
    define('TEXT_PRODUCT_MSRP', 'Retail Price: ');
    define('TEXT_PRODUCT_SAVE', 'You save: ');
    define('TEXT_PRODUCT_OUR', 'Our Price: ');

  3. includes/languages/english.php
    No other files modified.

I can see MRSP when I choose product - book and can add price. But, price does not remain when I click on preview. And I do not see it on site.

I am no expert at this. Is there anyone that can give suggestions on how to get to work?

Thanks, Kim

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

21 Jan 2010, 7:30 PM
#176
ian_cowdery avatar

ian_cowdery

New Zenner

Join Date:
Feb 2009
Posts:
21
Plugin Contributions:
0

Re: MSRP contrib

Hi

Hope someone here can help, have installed this mod, I also have the inc/ex vat mod installed, I initially had problem where I had a blank home page, but solved that by re establishing the inc/ex mod. I now have my main page back, but I do not have MSRP Price, you save etc. It is active in admin as I can put MSRP price in there, but not showing on product pages on site.

It's bound to be something easy, but i cant figure it out.

Help appreciated

13 Feb 2010, 12:48 AM
#177
australian_caching avatar

australian_caching

Zen Follower

Join Date:
Feb 2010
Posts:
106
Plugin Contributions:
0

Re: MSRP contrib

I love this concept, and I want it bad,
I am using Canada post shipping, when MSRP works, Canada post dimensions and weight don't show up in when I add a product. and when Canada post is working, MSRP disapears. Do I have gremlins?

I NEED canada post, but want MSRP.

Where is MSRP in Admin, can't find it anywhere to turn it on or off.

Guy

17 Feb 2010, 6:05 PM
#178
australian_caching avatar

australian_caching

Zen Follower

Join Date:
Feb 2010
Posts:
106
Plugin Contributions:
0

Re: MSRP contrib

Australian Caching:

I love this concept, and I want it bad,
I am using Canada post shipping, when MSRP works, Canada post dimensions and weight don't show up in when I add a product. and when Canada post is working, MSRP disapears. Do I have gremlins?

I NEED canada post, but want MSRP.

Where is MSRP in Admin, can't find it anywhere to turn it on or off.

Guy

Refreshing this one, does anyone have an answer?

18 Feb 2010, 8:35 PM
#179
bh_scripts avatar

bh_scripts

New Zenner

Join Date:
Nov 2005
Location:
New Zealand
Posts:
16
Plugin Contributions:
0

Re: MSRP contrib

Australian Caching:

I love this concept, and I want it bad,
I am using Canada post shipping, when MSRP works, Canada post dimensions and weight don't show up in when I add a product. and when Canada post is working, MSRP disapears. Do I have gremlins?

I NEED canada post, but want MSRP.

Where is MSRP in Admin, can't find it anywhere to turn it on or off.

Guy

There are no settings in Admin for MSRP. Once applied it is always on.

19 Feb 2010, 8:12 AM
#180
australian_caching avatar

australian_caching

Zen Follower

Join Date:
Feb 2010
Posts:
106
Plugin Contributions:
0

Re: MSRP contrib

Australian Caching:

I love this concept, and I want it bad,
I am using Canada post shipping, when MSRP works, Canada post dimensions and weight don't show up in when I add a product. and when Canada post is working, MSRP disapears. Do I have gremlins?

I NEED canada post, but want MSRP.

Where is MSRP in Admin, can't find it anywhere to turn it on or off.

Guy

Any answers to this? (I had an answer for 'where is MSRP in admin, thank you, forgot your name before I sent this)

Has anyone got Canada Post and MSRP working together?, if I install one, it disables the other, I have to reinstall Canada Post to get it working again.

Guy