Results 1 to 3 of 3
  1. #1
    Join Date
    May 2010
    Posts
    18
    Plugin Contributions
    0

    Default MSRP Add On - Not On Front Page

    Hello everyone,

    I just installed the MSRP Add On and I don't want to MSRP to show on the front page. I want it to show on the order pages, but not the front page.

    This is the website. Take a look. RC-Access.com

    So, my question is how to make the MSRP not display on the front page?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: MSRP Add On - Not On Front Page

    If you want absolutely NO Prices to display on the Home page of your site, you could customize the display price function:
    Code:
    ////
    // Display Price Retail
    // Specials and Tax Included
      function zen_get_products_display_price($products_id) {
        global $db, $currencies;
    
        $free_tag = "";
        $call_tag = "";
    
    // do not show prices on home page
        global $this_is_home_page;
        if ($this_is_home_page) {
          return '';
        }
    
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Apr 2008
    Posts
    37
    Plugin Contributions
    0

    Default Re: MSRP Add On - Not On Front Page

    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?

    I am using version 3.8

    Please advise. I would appreciate it. Thanks

 

 

Similar Threads

  1. v150 Add products to front page of website...
    By rainbow_pixie_star in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 4 Jun 2015, 08:21 PM
  2. v151 add new slide to front page
    By godt in forum Addon Templates
    Replies: 2
    Last Post: 16 Jun 2014, 06:06 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. how can i add add to cart with image on front page
    By chrisnasah in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Oct 2010, 04:39 PM
  5. Replies: 12
    Last Post: 17 Jul 2009, 01:26 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR