Speak to our experts today 0333 004 0333
Speak to one of our experts today
User Guides

ekmPowershop Tag: [ekm:shop_contact_details]

This tag is used to output shop details and contact information for your shop. This is useful for outputting your company address, company number and contact number. The details can be edited in your settings.

  • Tag Information
Basic Use
To use this tag include any CSS you want outputting only on the cart page inside it. This must be included within the main theme.

[ekm:shop_contact_details]
  output_start='<div class="ekm-contact-details">';
  output_item='
      {company_name}<b>[company_name]</b> <br>{/company_name}
      {address_line_1}[address_line_1] <br>{/address_line_1}
      {address_line_2}[address_line_2] <br>{/address_line_2}
      {town}[town] <br>{/town}
      {county}[county] <br>{/county}
      {postcode}[postcode] <br>{/postcode}
      {country}[country] <br>{/country}
  ';
  output_end='</div><!-- ekm-contact-details -->';
[/ekm:shop_contact_details]
                                
This outputs the following.
EKM Systems Ltd
77 Golden Hill Lane
Leyland
Lancashire
PR25 3FF
United Kingdom
Tag Attributes
Output Start
output_start='<div class="ekm-contact-details">';

Specify any HTML or text you want to output before any of the values are output.

Value
Description
{user defined}
Define any opening HTML or Titles to go before the contact details.
Output Item
output_item='{company_name}[company_name],{/company_name} {address_line_1}[address_line_1], {/address_line_1}{address_line_2}[address_line_2], {/address_line_2}{town}[town], {/town}{postcode}[postcode], {/postcode}{country}[country]{/country}';

Specify which contact details should be output by this tag.

Value
Description
[company_name]
Outputs the company name
[address_line_1]
Outputs the address line 1
[address_line_2]
Outputs the address line 2
[city]
Outputs the town or city.
[county]
Outputs the county or state
[postcode]
Outputs the postcode or zipcode
[country]
Outputs the country
[shop_name]
Outputs the shop name
[name]
Outputs the full name
[first_name]
Outputs the first name
[last_name]
Outputs the last name
[email]
Outputs the email
[telephone]
Outputs the telephone number
[copyright]
Outputs the a copyright notice
Output End
output_end='</div>';

Specify any HTML or text you want to output after any of the values are output.

Value
Description
{user defined}
Define any opening HTML or Titles to go after contact details.