Select Shipping Method tool tip

  • Posts: 517
  • Thank you received: 8
  • Hikashop Business
11 years 8 months ago #92517

Hi, Is there a way to add a tool tip to explain what kind of shipping service customers are going to select? I know you can use the shipping method description to do this but that displays all the time and looks messy. Maybe you could add an option to display the shipping description via tool tip going forward?

many thanks

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 8 months ago #92530

Hi,

You can edit the view "checkout / shipping" and add the tooltip code, by this way the tooltip will always be available for the shipping methods.

Please Log in or Create an account to join the conversation.

  • Posts: 517
  • Thank you received: 8
  • Hikashop Business
11 years 8 months ago #92532

Hi, sorry what's the tool tip code? and where would it be placed?

thanks

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 8 months ago #92535

Hi,

The tooltip code is:

JHTML::tooltip('This is the tooltip text', 'Tooltip title', 'tooltip.png', '', 'http://www.joomla.org');

You can place it on the shipping method name.
Try to replace:
echo $rate->shipping_name;
By:
JHTML::tooltip($rate->shipping_description, $rate->shipping_name, 'tooltip.png', '', '');

Please Log in or Create an account to join the conversation.

Time to create page: 0.044 seconds
Powered by Kunena Forum