Results 1 to 10 of 10
  1. #1
    Join Date
    Dec 2011
    Posts
    41
    Plugin Contributions
    0

    Default Call for Price that works like Ask Us module?

    Hello. Is there a module for call for price that functions like this one http://www.zen-cart.com/index.php?ma...roducts_id=206


    Instead of just a plain text saying "contact for price", i want it to be a link.

    Thanks

  2. #2
    Join Date
    Dec 2011
    Posts
    41
    Plugin Contributions
    0

    Default Call for Price that works like Ask Us module

    Hello.Hope I land on the right forum. Is there a module for call for price that functions like this one http://www.zen-cart.com/index.php?ma...roducts_id=206


    Instead of just a plain text saying "contact for price", i want it to be a link.


    I think there is a link for call for price. As far as I could remember, before, when I mark a product as call for price, there are two call for price showing. The blue "call for price" text is a hyperlink. I leads me to a Contact Us page(cant remember that much).Here is the screenshot
    Name:  callforprice.jpg
Views: 140
Size:  11.8 KB


    Unfortunately I cant remember which file I modified and worse is dont know if I commented out the code for that or I deleted it.

    Kindly help me out on this please.
    Thanks

  3. #3
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Call for Price that works like Ask Us module?

    admin Tools Developers Toolkit and search for the words you want to find
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

  4. #4
    Join Date
    Aug 2011
    Posts
    64
    Plugin Contributions
    0

    Default Re: Call for Price that works like Ask Us module?

    Quote Originally Posted by usernamenone View Post
    admin Tools Developers Toolkit and search for the words you want to find

    Thanks for that quick reply. I already did that, found the defines in includes/languages/english.php. It only shows the text. I want it to be a link and direct it to a contact page(just like the ask us about this product, when you go to product info, click the ask us about this item button, it leads you to a contact page). I remember having that before, I just dont remember which file i modified it and HOW did I modify it, wondering if I commented it out or deleted it. My bad I didnt provide documentations before.

  5. #5
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Call for Price that works like Ask Us module?

    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

  6. #6
    Join Date
    Aug 2011
    Posts
    64
    Plugin Contributions
    0

    Default Re: Call for Price that works like Ask Us module?

    I tried this on english.php

    define('PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT','<a href="' . zen_href_link(FILENAME_CONTACT_US) . '">Contact for Price</a>');

    but it leads me to a blank page. Is it possible to create a module similar to ask us module?

  7. #7
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Call for Price that works like Ask Us module?

    Try


    define('PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT','<a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'SSL') ?>">Call for Price</a>');
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

  8. #8
    Join Date
    Dec 2011
    Posts
    41
    Plugin Contributions
    0

    Default Re: Call for Price that works like Ask Us module?

    Quote Originally Posted by usernamenone View Post
    Try


    define('PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT','<a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'SSL') ?>">Call for Price</a>');
    this only turns a blank page.

    I remember the call for price with a link works like a button with hyperlink in product listing page. As you can see in the screenshot, there are 2 call for price showing, one is just a plain red text (it came from includes/functions/extra_functions/in_ex_functions.php) and the blue one has a hyperlink.Big problem is dont know which file to modify. Is it in include/modules/my_template/product_listing.php? I badly needed to bring back that text with hyperlink.

  9. #9
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Call for Price that works like Ask Us module?

    this link placed anywhere on your site will link to the contact us page


    <a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'SSL') ?>">Call for Price</a>

    If you can't remember what you modified you are stuck with doing a backup
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

  10. #10
    Join Date
    Dec 2011
    Posts
    41
    Plugin Contributions
    0

    Default Re: Call for Price that works like Ask Us module?

    apologies for being such a dumb, this code works for me now

    Code:
      define('PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT','<br/><a style="color:red" href="' . zen_href_link(FILENAME_CONTACT_US) . '">Contact for price</a>');

    Thank you so much for your help!

 

 

Similar Threads

  1. call for price , ask for quote shopping cart
    By olivierhoch in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 20 Jun 2013, 03:10 AM
  2. Ask for price sends to contact - how I can change that?
    By J-A-J-O in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 22 Oct 2008, 09:41 PM
  3. Payment module that works for godaddy?
    By mfashraf in forum Built-in Shipping and Payment Modules
    Replies: 11
    Last Post: 15 May 2008, 06:33 AM
  4. 'call for price'-like tag
    By BouncerFL in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Feb 2008, 04:13 AM
  5. Call for Price & Ask a Question Mod
    By SPH in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 22 Feb 2007, 09:58 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