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

#   Want add new product published default to be Yes.

##

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

Less More

- Posts: 22
- Thank you received: 1
-
-

13 years 6 months ago [\#100158](#100158) by [suppasinka.com](/forum/user/16276-suppasinka-com "View suppasinka.com's Profile")  *[Want add new product published default to be Yes.](/forum/19-hikamarket/80656-want-add-new-product-published-default-to-be-yes#100158 "Hi I want to set default product published status to be &quot;Yes&quot; where to change it?  Regards   www.suppasinka.com")* was created by *[suppasinka.com](/forum/user/16276-suppasinka-com "View suppasinka.com's Profile")*

Hi
I want to set default product published status to be "Yes"
where to change it?
[ ![published.jpg](/forum/attachment/9758) ](/forum/attachment/9758 "published.jpg")

Regards
[ www.suppasinka.com](http://www.suppasinka.com)

- [ ![published.jpg](/forum/attachment/9758) ](/forum/attachment/9758 "published.jpg") [ ](/forum/attachment/9758?download=1 "published.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODA2NTYtd2FudC1hZGQtbmV3LXByb2R1Y3QtcHVibGlzaGVkLWRlZmF1bHQtdG8tYmUteWVzP3RtcGw9bWFya2Rvd24=) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 6 months ago [\#100165](#100165) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Want add new product published default to be Yes.](/forum/19-hikamarket/80656-want-add-new-product-published-default-to-be-yes#100165 "Hi I want to set default product published status to be &quot;Yes&quot; where to change it?  Regards   www.suppasinka.com")*

Hi,

You can create a product template in the HikaMarket backend.
The "product template" would define the default values so if the product template have "published" to yes, when a vendor would create a product, it would be pre-filled to "yes".
(You can set default values for all product fields)

Best regards,

---

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

The following user(s) said Thank You: [suppasinka.com](/forum/user/16276-suppasinka-com "View suppasinka.com's Profile")

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

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

Less More

- Posts: 22
- Thank you received: 1
-
-

13 years 5 months ago -  13 years 5 months ago [\#101747](#101747) by [suppasinka.com](/forum/user/16276-suppasinka-com "View suppasinka.com's Profile")  Replied by *[suppasinka.com](/forum/user/16276-suppasinka-com "View suppasinka.com's Profile")* on topic *[Want add new product published default to be Yes.](/forum/19-hikamarket/80656-want-add-new-product-published-default-to-be-yes#101747 "Hi I want to set default product published status to be &quot;Yes&quot; where to change it?  Regards   www.suppasinka.com")*

Solved
Thank you.

Last edit: 13 years 5 months ago by [suppasinka.com](/forum/user/16276-suppasinka-com "View suppasinka.com's Profile").

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

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

Less More

- Posts: 22
- Thank you received: 1
-
-

13 years 5 months ago [\#102515](#102515) by [suppasinka.com](/forum/user/16276-suppasinka-com "View suppasinka.com's Profile")  Replied by *[suppasinka.com](/forum/user/16276-suppasinka-com "View suppasinka.com's Profile")* on topic *[Want add new product published default to be Yes.](/forum/19-hikamarket/80656-want-add-new-product-published-default-to-be-yes#102515 "Hi I want to set default product published status to be &quot;Yes&quot; where to change it?  Regards   www.suppasinka.com")*

Hi
I want to modify the HTML source file
for default template it can modify at Hikasop=&gt; Display =&gt; View
HikaMarket - productmarket / form.php

for the new template where should I find HTML source file?
[ ![template.png](/forum/attachment/10001) ](/forum/attachment/10001 "template.png")

Thank you in advance.

- [ ![template.png](/forum/attachment/10001) ](/forum/attachment/10001 "template.png") [ ](/forum/attachment/10001?download=1 "template.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODA2NTYtd2FudC1hZGQtbmV3LXByb2R1Y3QtcHVibGlzaGVkLWRlZmF1bHQtdG8tYmUteWVzP3RtcGw9bWFya2Rvd24=) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 5 months ago [\#102517](#102517) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Want add new product published default to be Yes.](/forum/19-hikamarket/80656-want-add-new-product-published-default-to-be-yes#102517 "Hi I want to set default product published status to be &quot;Yes&quot; where to change it?  Regards   www.suppasinka.com")*

Hi,

There is a difference between a "product template" which is an "object" in the database for HikaMarket and a joomla view which contains HTML.
The "Product Template 1" is a product, like any other HikaShop product but it will be used as a "template" when you want to create a new product in HikaMarket.

Regards,

---

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

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

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

Less More

- Posts: 22
- Thank you received: 1
-
-

13 years 5 months ago -  13 years 5 months ago [\#102527](#102527) by [suppasinka.com](/forum/user/16276-suppasinka-com "View suppasinka.com's Profile")  Replied by *[suppasinka.com](/forum/user/16276-suppasinka-com "View suppasinka.com's Profile")* on topic *[Want add new product published default to be Yes.](/forum/19-hikamarket/80656-want-add-new-product-published-default-to-be-yes#102527 "Hi I want to set default product published status to be &quot;Yes&quot; where to change it?  Regards   www.suppasinka.com")*

Hi

My target for Product add page are
1.) Set "Product publish" default to be Yes
2.) Modify product add page for display Local language description and add necessary link

If I use default product add form
1st target=NG
2nd target=OK (I can modify it freely)

If I use add new product add template (Product Tempalte1)
1st target=OK
2nd target=NG

If you know how to modify default form to be default publish please tell me
I'm trying to modify the below code
Code:

if(hikamarket::acl('product_edit_published')) { ?&gt; &lt;dt class="hikamarket_product_published"&gt;&lt;label&gt;&lt;?php echo JText::_('HIKA_PUBLISHED'); ?&gt;&lt;font color=red&gt;*&lt;/font&gt;&lt;/label&gt;&lt;/dt&gt; &lt;dd class="hikamarket_product_published"&gt;&lt;?php echo JHTML::_('hikaselect.booleanlist', "data[product][product_published]" , '', @$this-&gt;product-&gt;product_published); ?&gt;&lt;/dd&gt; &lt;?php }

FYI (Personal Opinion)
The product publish default should be "Yes"
Why hikashop team think it should be "No"?
after I invite some friends to try my new BETA website
ALL OF THEM forget to change the publish to be Yes
and they ask me that where is my product, it does't show
in the website. And I have to tell them one by one to
change product publish to be "Yes". It's sound like not a big deal
but I worry a lot if I launch website to be Commercial phase
it should drain man-hour for my support team.
Regards

Last edit: 13 years 5 months ago by [suppasinka.com](/forum/user/16276-suppasinka-com "View suppasinka.com's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODA2NTYtd2FudC1hZGQtbmV3LXByb2R1Y3QtcHVibGlzaGVkLWRlZmF1bHQtdG8tYmUteWVzP3RtcGw9bWFya2Rvd24=) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 5 months ago [\#102536](#102536) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Want add new product published default to be Yes.](/forum/19-hikamarket/80656-want-add-new-product-published-default-to-be-yes#102536 "Hi I want to set default product published status to be &quot;Yes&quot; where to change it?  Regards   www.suppasinka.com")*

Hi,

I don't know what "NG" means and I don't know what is the problem.
If in your product template, you save that the "product published" is yes so, every product that a vendor will create using the "add" button will have this value by default.
You can configure the product template in the global configuration and you can override it by vendor.

Modifying the view is not require.
Just setting the "product publish" to yes in the product template you're using for your vendors.

After that, the default value for publishing is "no" because when you create a product, you can save it while you still working on it (in order to not loose data) so you don't want that the product become online directly.
Other thing around multi-vendor. When you have several vendors, you may not want that their product became directly online, you may want to check the content before (giving an approval).

Regards,

---

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

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

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

[](#top)
