Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1

    Default Request Quote link enhancement

    On the product pages that are 'call for price', there's a Request Quote link that goes to the contact page.
    I want it to pass the product ID (or something else that identifies it) to the contact page, and for it to be put in the subject field of the email I receive.
    I get too many emails saying just 'Please Quote'.
    Thanks
    Pa

  2. #2
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Request Quote link enhancement

    I have never heard of something like this before. Does this feature comes from a particular MOD ? If so, would it be possible to point out the precise URL (clickable download link) on where this might be located ? If so, I could take a look at it.

  3. #3

    Default Re: Request Quote link enhancement

    Quote Originally Posted by TheOracle View Post
    I have never heard of something like this before. Does this feature comes from a particular MOD ? If so, would it be possible to point out the precise URL (clickable download link) on where this might be located ? If so, I could take a look at it.
    No, not from a mod at all, its an original ZC function (or lack of it!!). Perhaps I'm not being clear.
    If one sets a product as 'Call for Price', in the catalog you get a 'Call for price' link in the appropriate product pages, and that link goes to the contact form.
    If there are several 'call for price' products, the potential customer has to specify which product he wants a quote on, which often he doesn't.
    I'm asking that the product model data be included in the 'call for price' link and that be automatically embedded into the contact form, either as a subject field, or a hidden field, or whatever.
    Cheers
    Pa

  4. #4
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Request Quote link enhancement

    May be better add to email referring info? So, if you come to "Contact Us" page from products_info page, you can see in email
    "Referring page - http://zz.zz/index.php?main_page=product_info&products_id=XX"

  5. #5

    Default Re: Request Quote link enhancement

    Quote Originally Posted by a_berezin View Post
    May be better add to email referring info? So, if you come to "Contact Us" page from products_info page, you can see in email
    "Referring page - http://zz.zz/index.php?main_page=product_info&products_id=XX"
    Yeah - that would do it. Any suggestion on how or what to code to achieve this?

    Pa

  6. #6
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Request Quote link enhancement

    If I may ask before posting the actual solution ... wouldn't be the same to use a Report a product feature ?

  7. #7

    Default Re: Request Quote link enhancement

    Quote Originally Posted by TheOracle View Post
    If I may ask before posting the actual solution ... wouldn't be the same to use a Report a product feature ?
    Dunno - Is this a ZC feature I've not come across yet?
    Please point me to it.
    Thx
    Pa

  8. #8
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Request Quote link enhancement

    Add referring info to contact us email.

    1. tpl_contact_us_default.php
    Find ~78 line
    Code:
    <div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
    Add after
    Code:
    <!-- // BOF Referrer page -->
    <?php echo zen_draw_hidden_field('referrer', ($error ? zen_db_prepare_input($_POST['referrer']) : (isset($_SERVER['HTTP_REFERER']) ? zen_db_prepare_input(urldecode($_SERVER['HTTP_REFERER'])) : ''))); ?>
    <!-- // EOF Referrer page -->
    2. contact_us/header_php.php
    Find ~50
    Code:
    $extra_info = email_collect_extra_info($name, $email_address, $customer_name, $customer_email);
    Add after
    Code:
    // BOF Referrer page
       define('OFFICE_REFERRER', 'Referrer page:');
       $referrer = zen_db_prepare_input($_POST['referrer']);
       $extra_info['TEXT'] .= OFFICE_REFERRER . "\t" . $referrer . "\n\n";
       $extra_info['HTML'] .= '<table class="extra-info"><tr><td class="extra-info-bold">' . OFFICE_REFERRER . '</td><td>' . $referrer . '</td></tr>' . '</table>';
    // EOF Referrer page

  9. #9

    Default Re: Request Quote link enhancement

    Thanks Andrew - Much appreciated.
    I tried it on my test site and it works fine.
    However, the product can only be identified if they 'Requested a Quote' from the product page. Unfortunately, the link also appears on the Category page against each product, so if requested from there, I still cannot identify the product from this info (assuming there is more than one product).

    But its a step in the right direction ;-)
    Thanks Again
    Pa

  10. #10
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Request Quote link enhancement

    Must be in the archived section regarding the report a product feature ... if it isn't there no more, I will recode it. In the mean time, I do not think the old one was meant to work on Zen-Cart v1.3x ... I will keep this topic updated when done.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v153 Request a quote
    By ruks12 in forum Addon Payment Modules
    Replies: 2
    Last Post: 24 Mar 2015, 11:01 PM
  2. v151 Request for Quote plugin
    By raunharman in forum General Questions
    Replies: 1
    Last Post: 25 May 2013, 10:11 AM
  3. request a quote module?
    By dnwmarket in forum General Questions
    Replies: 1
    Last Post: 28 Sep 2010, 02:23 AM
  4. USPS Rate Quote Request problem
    By foxxxy in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 23 Apr 2010, 03:19 PM
  5. How to generate a Request for Quote?
    By kevinw in forum Managing Customers and Orders
    Replies: 4
    Last Post: 15 Mar 2007, 12:35 AM

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