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

#   Vendor Terms &amp; conditions are not saving data

##

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

Less More

- Posts: 28
- Thank you received: 0
-
-

11 years 9 months ago [\#190415](#190415) by [the1st\_expert](/forum/user/30668-the1st-expert "View the1st&#95;expert's Profile")  *[Vendor Terms &amp; conditions are not saving data](/forum/22-market-bug-report/874931-vendor-terms-conditions-are-not-saving-data#190415 "-- HikaShop version -- : 2.3.5 -- HikaMarket version -- : 1.5.1 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.17 -- Browser(s) name and version -- : Chrome 40.0.2214.111  Hi  This is my first post, so i will try my best to be clear :)  If user registered in my site, then he can register to be a vendor. While registering as vendor, a filed is given for him to fill the &quot;terms and conditions&quot;.  If that has been filled during registration, it is not being saved. If filled later it saves the data.  I hope this is clear enough.")* was created by *[the1st\_expert](/forum/user/30668-the1st-expert "View the1st&#95;expert's Profile")*

-- HikaShop version -- : 2.3.5
-- HikaMarket version -- : 1.5.1
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5.17
-- Browser(s) name and version -- : Chrome 40.0.2214.111

Hi

This is my first post, so i will try my best to be clear ![:)](/media/kunena/emoticons/3.png ":)")

If user registered in my site, then he can register to be a vendor.
While registering as vendor, a filed is given for him to fill the "terms and conditions".

If that has been filled during registration, it is not being saved.
If filled later it saves the data.

I hope this is clear enough.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 9 months ago [\#190459](#190459) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Vendor Terms &amp; conditions are not saving data](/forum/22-market-bug-report/874931-vendor-terms-conditions-are-not-saving-data#190459 "-- HikaShop version -- : 2.3.5 -- HikaMarket version -- : 1.5.1 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.17 -- Browser(s) name and version -- : Chrome 40.0.2214.111  Hi  This is my first post, so i will try my best to be clear :)  If user registered in my site, then he can register to be a vendor. While registering as vendor, a filed is given for him to fill the &quot;terms and conditions&quot;.  If that has been filled during registration, it is not being saved. If filled later it saves the data.  I hope this is clear enough.")*

Hi,

Thanks for the report.
Please edit the file "administrator/components/com_hikamarket/classes/vendor.php" and replace Code:

$vendor-&gt;vendor_published = ($config-&gt;get('allow_registration', 0) == 2 &amp;&amp; $user_activated); $vendor-&gt;vendor_description = JRequest::getVar('vendor_description', '', '', 'string', JREQUEST_ALLOWRAW);

By Code:

$vendor-&gt;vendor_published = ($config-&gt;get('allow_registration', 0) == 2 &amp;&amp; $user_activated); $safeHtmlFilter = JFilterInput::getInstance(null, null, 1, 1); if($config-&gt;get('register_ask_description', 1)) { $vendor-&gt;vendor_description = JRequest::getVar('vendor_description', '', '', 'string', JREQUEST_ALLOWRAW); $vendor-&gt;vendor_description = $safeHtmlFilter-&gt;clean($vendor-&gt;vendor_description, 'string'); } if($config-&gt;get('register_ask_terms', 0)) { $vendor-&gt;vendor_terms = JRequest::getVar('vendor_terms', '', '', 'string', JREQUEST_ALLOWRAW); $vendor-&gt;vendor_terms = $safeHtmlFilter-&gt;clean($vendor-&gt;vendor_terms, 'string'); }

It will fix the issue.
This patch will be include in the next release package.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [the1st\_expert](/forum/user/30668-the1st-expert "View the1st&#95;expert's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg3NDkzMS12ZW5kb3ItdGVybXMtY29uZGl0aW9ucy1hcmUtbm90LXNhdmluZy1kYXRhP3RtcGw9bWFya2Rvd24=) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.047 seconds

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