[Skip to main content](#vessel-content)

#   Manual shipping method address override

##

- **[shifty\_](/forum/user/3676-shifty "View shifty&#95;'s Profile")**
- [![shifty&#95;'s Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3676-shifty "View shifty&#95;'s Profile") Topic Author
- [ Offline](/forum/user/3676-shifty)

Less More

- Posts: 35
- Thank you received: 1
-
-

11 years 6 months ago [\#196736](#196736) by [shifty\_](/forum/user/3676-shifty "View shifty&#95;'s Profile")  *[Manual shipping method address override](/forum/28-shipping-methods/876068-manual-shipping-method-address-override#196736 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.1 -- Browser(s) name and version -- : All Browsers  Hi There  When I set &quot;Override Shipping Address&quot; to &quot;HTML Version&quot; - it strips out all the valid HTML from the code that I entered in the textarea leaving me with just plain text after I save.  I can't figure out what I am doing wrong.  Cheers  Mark")* was created by *[shifty\_](/forum/user/3676-shifty "View shifty&#95;'s Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5.1
-- Browser(s) name and version -- : All Browsers

Hi There

When I set "Override Shipping Address" to "HTML Version" - it strips out all the valid HTML from the code that I entered in the textarea leaving me with just plain text after I save.

I can't figure out what I am doing wrong.

Cheers

Mark

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODc2MDY4LW1hbnVhbC1zaGlwcGluZy1tZXRob2QtYWRkcmVzcy1vdmVycmlkZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 6 months ago [\#196756](#196756) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Manual shipping method address override](/forum/28-shipping-methods/876068-manual-shipping-method-address-override#196756 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.1 -- Browser(s) name and version -- : All Browsers  Hi There  When I set &quot;Override Shipping Address&quot; to &quot;HTML Version&quot; - it strips out all the valid HTML from the code that I entered in the textarea leaving me with just plain text after I save.  I can't figure out what I am doing wrong.  Cheers  Mark")*

Hello Mark,
Can you give me more information about the issue that you are having through some screenshots for example ?
Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODc2MDY4LW1hbnVhbC1zaGlwcGluZy1tZXRob2QtYWRkcmVzcy1vdmVycmlkZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[shifty\_](/forum/user/3676-shifty "View shifty&#95;'s Profile")**
- [![shifty&#95;'s Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3676-shifty "View shifty&#95;'s Profile") Topic Author
- [ Offline](/forum/user/3676-shifty)

Less More

- Posts: 35
- Thank you received: 1
-
-

11 years 6 months ago [\#196960](#196960) by [shifty\_](/forum/user/3676-shifty "View shifty&#95;'s Profile")  Replied by *[shifty\_](/forum/user/3676-shifty "View shifty&#95;'s Profile")* on topic *[Manual shipping method address override](/forum/28-shipping-methods/876068-manual-shipping-method-address-override#196960 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.1 -- Browser(s) name and version -- : All Browsers  Hi There  When I set &quot;Override Shipping Address&quot; to &quot;HTML Version&quot; - it strips out all the valid HTML from the code that I entered in the textarea leaving me with just plain text after I save.  I can't figure out what I am doing wrong.  Cheers  Mark")*

Thanks Mohamed... Please see attached image for an explanation... This screenshot was taken while editing a manual shipping plugin.

- [ ![hikashop-problem.png](/forum/attachment/23505) ](/forum/attachment/23505 "...op-problem.png") [ ](/forum/attachment/23505?download=1 "...op-problem.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODc2MDY4LW1hbnVhbC1zaGlwcGluZy1tZXRob2QtYWRkcmVzcy1vdmVycmlkZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 6 months ago -  11 years 6 months ago [\#197099](#197099) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Manual shipping method address override](/forum/28-shipping-methods/876068-manual-shipping-method-address-override#197099 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.1 -- Browser(s) name and version -- : All Browsers  Hi There  When I set &quot;Override Shipping Address&quot; to &quot;HTML Version&quot; - it strips out all the valid HTML from the code that I entered in the textarea leaving me with just plain text after I save.  I can't figure out what I am doing wrong.  Cheers  Mark")*

Hi,

Thanks for the report, please edit the file "administrator/components/com_hikashop/controllers/plugins/php" function "store()" and replace: Code:

if(is_array($val) &#124;&#124; $key=='information'){ $element-&gt;$params_name-&gt;$key = $val; }else{ $element-&gt;$params_name-&gt;$key = strip_tags($val); }

By: Code:

if(is_array($val) &#124;&#124; $key=='information'){ $element-&gt;$params_name-&gt;$key = $val; }elseif($key =='shipping_override_address_text' &amp;&amp; $formData[$this-&gt;plugin_type][$column]['shipping_override_address'] == '4'){ $safeHtmlFilter = JFilterInput::getInstance(null, null, 1, 1); $element-&gt;$params_name-&gt;$key = $safeHtmlFilter-&gt;clean($val, 'string'); }else{ $element-&gt;$params_name-&gt;$key = strip_tags($val); }

Last edit: 11 years 6 months ago by [Xavier](/forum/user/4105-xavier "View Xavier's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODc2MDY4LW1hbnVhbC1zaGlwcGluZy1tZXRob2QtYWRkcmVzcy1vdmVycmlkZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.258 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
