Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2005
    Posts
    97
    Plugin Contributions
    0

    help question "Click for Price" for mininum advertised price

    I installed the MAP Pricing from here:

    http://www.zen-cart.com/index.php?ma...roducts_id=158

    I modified it to show to original price.

    See it in action here: http://www.nokoria.com/genuine/index...roducts_id=180

    Now I want to add a link to "Priced so low..." When that link is clicked, an overlay popup will show the price, like this: http://nokoria.com/testing/show_price.html

    I'm not sure how integrate this code into the "function_prices.php"

    Any help is much appreciated!

    Thank you

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: "Click for Price" for mininum advertised price

    I have not used the MAP Pricing mod but theorize that they have added a DB table or field to hold the other price. to keep this dynamic it will require that the lower price call be inserted and all converted to php. You can begin by looking at how the tpl_product_info_display.php calls the product price and this is where the on click function will have to be added with the call to the other price.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2005
    Posts
    97
    Plugin Contributions
    0

    help question Re: "Click for Price" for mininum advertised price

    Kobra,

    From what I understand, this is what I should try to do:

    create a new file called: tpl_click_for_price.php

    Inside that file, I put:

    Javascript and the link to show the pop-up price. Everything regarding the price and displaying text will be inside this new file.

    Then, in tpl_product_info_display.php, I just add the following:

    If (mininum advertised price is true)

    call tpl_click_for_price.php


    Is that right?

    Thank you,

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: "Click for Price" for mininum advertised price

    This would be one way to do it...just insure that the new file is a valid php file
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Product listed as "Call for Price," and still showing price
    By jdw1979 in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 27 May 2014, 11:06 PM
  2. Replace product-listing price with "Click for Price" button
    By jpmagee in forum General Questions
    Replies: 0
    Last Post: 29 Mar 2010, 01:11 PM
  3. Hide Price in "Call for Price" Products (Asked by Many, Answered by None)
    By Squanto in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 May 2008, 06:35 PM
  4. When a specific Attribute is used - change price to "call for price"?
    By PaulRiedel in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 4 Nov 2007, 02:34 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