Thread: MSRP contrib

Page 2 of 34 FirstFirst 123412 ... LastLast
Results 11 to 20 of 336
  1. #11
    Join Date
    Jun 2006
    Location
    Koh Samui
    Posts
    122
    Plugin Contributions
    0

    Default Re: MSRP contrib

    Hi,

    there is a line of code after that contains ' tableprefix_products' but this is nowhere in my zen cart files.
    You need to copy that line into the sql tool in the admin panel.

    Ronald.
    [FONT="Verdana"]http://www.xlventures.eu[/FONT]

  2. #12

    Default Re: MSRP contrib

    its ok thanks. thanks for responding to my question, but i managed to work out how to add it through phpmyadmin. it didnt work when i tried to use the sql tool. its all done now though and working very well.
    Although, i cant quite figure out how to change the font sizes on the product listing pages only. I have done it for the product info pages, but cant work out the css codes for the product listing pages.

    looking at the css classes, it says .boldPrice, but for each individual price it says .save .norm and .smalltext1. but dont know how to assign it specifically to product listing page.

    Any help would be gratefully appreciated. Thanks

  3. #13
    Join Date
    Oct 2006
    Posts
    224
    Plugin Contributions
    0

    Default Re: MSRP contrib

    After installing this contrib, I'm trying to update a product and I'm getting this error when I click "Update":
    Parse error: syntax error, unexpected ')' in /home/********/public_html/store/*****/includes/modules/update_product.php on line 26

    This is line 26 of that file:
    $tmp_value = zen_db_prepare_input($_POST['products_msrp']);

    Anyone see why there should be a problem with that line?

  4. #14
    Join Date
    Mar 2005
    Location
    Tempe, AZ
    Posts
    324
    Plugin Contributions
    0

    Default Re: MSRP contrib

    Quote Originally Posted by kbalona View Post
    After installing this contrib, I'm trying to update a product and I'm getting this error when I click "Update":
    Parse error: syntax error, unexpected ')' in /home/********/public_html/store/*****/includes/modules/update_product.php on line 26

    This is line 26 of that file:
    $tmp_value = zen_db_prepare_input($_POST['products_msrp']);

    Anyone see why there should be a problem with that line?
    Some time the error maybe above or below the line that it actual says it on.
    This is line 23 and 24 for me hope this helps it works on my site

    $tmp_value = zen_db_prepare_input($_POST['products_msrp']);

    $products_msrp = (!zen_not_null($tmp_value) || $tmp_value=='' || $tmp_value == 0) ? 0 : $tmp_value;
    Lextechs.com Powered By ZenCart

  5. #15
    Join Date
    Oct 2006
    Posts
    224
    Plugin Contributions
    0

    Default Re: MSRP contrib

    Still doesn't work
    The instructions said to change catalog/admin/modules/update_product.php but there' no such file, it's in "catalog/admin/includes/modules" I figured it was just a mistake, correct?

    I'm going to go through all the steps again and make sure I didn't miss anything.

  6. #16
    Join Date
    Oct 2006
    Posts
    224
    Plugin Contributions
    0

    Default Re: MSRP contrib

    OK, I re-did changing the Admin files and it works now:)
    Thanks for the help.

  7. #17
    Join Date
    Oct 2006
    Posts
    224
    Plugin Contributions
    0

    Default Re: MSRP contrib

    The only thing is, I wish I could take out the percentage that you save. I want it to say "You save $x.xx", instead of "You save $x.xx (xx%)".
    But I'm not good enough with php to find the right places to edit, nor do I know if it's possible.

  8. #18
    Join Date
    Oct 2006
    Posts
    224
    Plugin Contributions
    0

    Default Re: MSRP contrib

    After a couple hours of messing around, I changed it to like I want, except it doesn't say You Save. All it has now is Retail price crossed out, and our price.

  9. #19
    Join Date
    Mar 2005
    Location
    Tempe, AZ
    Posts
    324
    Plugin Contributions
    0

    Default Re: MSRP contrib

    Quote Originally Posted by kbalona View Post
    After a couple hours of messing around, I changed it to like I want, except it doesn't say You Save. All it has now is Retail price crossed out, and our price.
    I like what you did, i didn't write the code so i was trying to help the best i could. how did you change it so $ instead of %
    Lextechs.com Powered By ZenCart

  10. #20
    Join Date
    May 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: MSRP contrib

    I have been looking for this mod for months. Now since I have found it, I can't seem to install it. I am having problem with step one. I have Zen. 1.3.7, I have tried going through the Zen-Cart Admin Panel and the phpmyadmin, still no sucess.

    The error kept telling me it can't find "tableprefix_products".

 

 
Page 2 of 34 FirstFirst 123412 ... LastLast

Similar Threads

  1. send email db error after updating, possible clash with subscribe contrib
    By organism in forum Upgrading from 1.2 to 1.3.x
    Replies: 5
    Last Post: 16 Jun 2006, 08:47 PM
  2. Was there a layout boxes controller backup contrib?
    By kelvyn in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 5 Jun 2006, 10:22 AM

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
  •