Sidebar

startup_tutorial_and_checklist:usability_configuration:features_within_listing_details_page:contact_seller_form_options

Contact Seller Form Options

The contact seller form has a few different options for displaying/using it within the listing details page. The default configuration for this feature is to link to the contact seller feature page from the listing details page. There are other options where you can display the contact seller form by default in the listing details page and also have the current link to the contact seller display and when clicked display within a lightbox in the middle of the page. Below are how to achieve each and what they do/or look like.

These tags/configurations ONLY work within the listing details page and ONLY to the listing details template (default is listing_auction.tpl or listing_classified.tpl templates) or the page template attached to the listing details page (by default that is listing_page.tpl template).

This is the default behavior in many of our default designs. This configuration just requires that you insert the following tag where you want that "contact seller" link to appear within the listing details page or details template:

{listing tag='message_to_seller_link'}

The above would create a link that looks like this screenshot:

The text used for that contact seller link can be found within the following admin tool:

PAGES MANAGEMENT > BROWSING LISTINGS > LISTING DISPLAY PAGE > [EDIT TEXT]

and look for the Send Message To Seller Link text within that page. Within that you can place text or an image within that to make that link look the way you wish. Here are a couple examples:

click here to contact seller ask seller a question <img src="{external file='images/contact.png'}" alt="contact seller"> (uses a "contact.png" file uploaded into your custom templates /external/images/ directory)

Here we'll describe how to create your own custom link to the contact seller page from within the listing details page. If you wanted to include text within your contact seller link or an image you would simply edit the "text" for the Send Message To Seller Link mentioned in the section above and include your text or html image. This tutorial would only help if you wanted to leave the default contact seller link where it is in the design and add your custom one somewhere else in the same page that has a different look.

<a href="index.php?a=13&b={listing field='classified_id'}"><img src="{external file='images/contact.png'}" alt="contact seller"></a>

Note the "{listing field='classified_id'}" included which links to the current listings contact seller page.

Display Contact Seller Form In Listing's Details

Instead of linking to a separate page to you can display the contact seller form directly within the listing details page. You can do that by simply placing the following tag within your listing details page or details template:

{listing tag='contact_seller_form'}
  

That will display the contact seller form within design where you want it. We placed that within the right column of our default listing details template and got the following:

Display Contact Seller Form in Popup/Lightbox

The last configuration for this feature allows you to click a bit of text and have the contact seller form appear as a lightbox popup much like the full size images do if an image is clicked. You would paste the same tag as within the previous configuration but would add a specific attribute to it. That tag would be:

{listing tag='contact_seller_form' ajax_link='1'}

Placing the above in your listing details page templates produces a link where you place that tag and when you click that link text a lightbox popup like within the following screenshot appears for you to fill in and contact that seller:

The text used for that contact seller link can be found within the following admin tool:

PAGES MANAGEMENT > BROWSING LISTINGS > LISTING DISPLAY PAGE > [EDIT TEXT]

and look for the Send Message To Seller Link text within that page. Note that is the same system text used in the first option above.

startup_tutorial_and_checklist/usability_configuration/features_within_listing_details_page/contact_seller_form_options.txt · Last modified: 2015/04/10 16:13 by geojames