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

#   Vendor options set back to default

##

- **[pepecortez](/forum/user/31475-pepecortez "View pepecortez's Profile")**
- [![pepecortez's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31475-pepecortez "View pepecortez's Profile") Topic Author
- [ Offline](/forum/user/31475-pepecortez)

Less More

- Posts: 171
- Thank you received: 9
-
-

11 years 8 months ago -  11 years 8 months ago [\#195383](#195383) by [pepecortez](/forum/user/31475-pepecortez "View pepecortez's Profile")  *[Vendor options set back to default](/forum/22-market-bug-report/875788-vendor-options-set-back-to-default#195383 "Hi Jerome!  Just found another small bug, I've just checked the your online demo, it's still in it.  In administrator when vendors are listed on this link (/administrator/index.php?option=com&#95;hikamarket&amp;ctrl=vendor) and I change a vendor is published or not, all the vendor's options (Invoice Number format, Paypal email, Product limitation, Order notification status filter) are deleted, and set back to default. I think this shouldn't be normal.  If there's a fix for that, please give the codelines to change. Thanks in advance!")* was created by *[pepecortez](/forum/user/31475-pepecortez "View pepecortez's Profile")*

Hi Jerome!

Just found another small bug, I've just checked the your online demo, it's still in it.

In administrator when vendors are listed on this link (/administrator/index.php?option=com_hikamarket&amp;ctrl=vendor) and I change a vendor is published or not, all the vendor's options (Invoice Number format, Paypal email, Product limitation, Order notification status filter) are deleted, and set back to default. I think this shouldn't be normal.

If there's a fix for that, please give the codelines to change.
Thanks in advance!

Last edit: 11 years 8 months ago by [pepecortez](/forum/user/31475-pepecortez "View pepecortez's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg3NTc4OC12ZW5kb3Itb3B0aW9ucy1zZXQtYmFjay10by1kZWZhdWx0P3RtcGw9bWFya2Rvd24=) 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 8 months ago [\#195398](#195398) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Vendor options set back to default](/forum/22-market-bug-report/875788-vendor-options-set-back-to-default#195398 "Hi Jerome!  Just found another small bug, I've just checked the your online demo, it's still in it.  In administrator when vendors are listed on this link (/administrator/index.php?option=com&#95;hikamarket&amp;ctrl=vendor) and I change a vendor is published or not, all the vendor's options (Invoice Number format, Paypal email, Product limitation, Order notification status filter) are deleted, and set back to default. I think this shouldn't be normal.  If there's a fix for that, please give the codelines to change. Thanks in advance!")*

Hi,

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

if(!empty($vendor-&gt;vendor_params)){ $vendor-&gt;vendor_params = serialize($vendor-&gt;vendor_params); } else { $vendor-&gt;vendor_params = ''; }

By Code:

if(!empty($vendor-&gt;vendor_params)) $vendor-&gt;vendor_params = serialize($vendor-&gt;vendor_params);

It will fix the issue.

Regards,

---

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

The following user(s) said Thank You: [pepecortez](/forum/user/31475-pepecortez "View pepecortez's Profile")

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

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