- Posts: 51
- Thank you received: 0
UPS - Destination Type
12 years 6 months ago #147882
by phickman
UPS - Destination Type was created by phickman
In my UPS Shipping Method, the Destination Type of Commercial Address keeps changing to Auto-Determination. Is there a trick to make it stay at Commercial Address?
Thanks!
Thanks!
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 6 months ago - 12 years 6 months ago #147920
by Mohamed Thelji
Replied by Mohamed Thelji on topic UPS - Destination Type
Hello,
Thanks for the feedback, I just made a fix about this, so you'll just have to edit the code of the file : "plugins\hikashopshipping\ups\ups_configuration.php".
And change that lines :
By :
Thanks for the feedback, I just made a fix about this, so you'll just have to edit the code of the file : "plugins\hikashopshipping\ups\ups_configuration.php".
And change that lines :
Code:
<?php
$arr = array(
JHTML::_('select.option', 'auto', JText::_('Auto-determination') ),
JHTML::_('select.option', 'res', JText::_('Residential Address') ),
JHTML::_('select.option', 'com', JText::_('Commercial Address') ),
);
echo JHTML::_('hikaselect.genericlist', $arr, "data[shipping][shipping_params][destination_type]", 'class="inputbox" size="1"', 'value', 'text', @$this->element->shipping_params->pickup_type);
Code:
<?php
$arr = array(
JHTML::_('select.option', 'auto', JText::_('Auto-determination') ),
JHTML::_('select.option', 'res', JText::_('Residential Address') ),
JHTML::_('select.option', 'com', JText::_('Commercial Address') ),
);
echo JHTML::_('hikaselect.genericlist', $arr, "data[shipping][shipping_params][destination_type]", 'class="inputbox" size="1"', 'value', 'text', @$this->element->shipping_params->destination_type);
Last edit: 12 years 6 months ago by Mohamed Thelji.
Please Log in or Create an account to join the conversation.
12 years 6 months ago #147959
by phickman
Replied by phickman on topic UPS - Destination Type
Thank you so much! That seems to have resolved the issue.
Please Log in or Create an account to join the conversation.
Time to create page: 0.183 seconds