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

#   state format issue

##

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

9 years 10 months ago [\#256410](#256410) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  *[state format issue](/forum/19-hikamarket/887706-state-format-issue#256410 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  for the vendors listing, the state is displayed with Id and other details.  this is what i see state&#95;Sumatera&#95;Utara&#95;1773.  how do we remove the unnecessary details thanks?")* was created by *[ronron](/forum/user/40399-ronron "View ronron's Profile")*

-- HikaShop version -- : 2.6.3
-- HikaMarket version -- : 1.7.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : none

hi

for the vendors listing, the state is displayed with Id and other details.

this is what i see state_Sumatera_Utara_1773.

how do we remove the unnecessary details thanks?

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

9 years 10 months ago [\#256411](#256411) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[state format issue](/forum/19-hikamarket/887706-state-format-issue#256411 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  for the vendors listing, the state is displayed with Id and other details.  this is what i see state&#95;Sumatera&#95;Utara&#95;1773.  how do we remove the unnecessary details thanks?")*

Hi,

I'm sorry but I am not able to understand what you're talking about.
Please provide more details and a screenshot.

Regards,

---

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

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

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

9 years 10 months ago -  9 years 10 months ago [\#256575](#256575) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[state format issue](/forum/19-hikamarket/887706-state-format-issue#256575 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  for the vendors listing, the state is displayed with Id and other details.  this is what i see state&#95;Sumatera&#95;Utara&#95;1773.  how do we remove the unnecessary details thanks?")*

hi jerome

please see the screen shot.

the state has the id on it

[ ![Screenshot-state.png](/forum/attachment/34918) ](/forum/attachment/34918 "...shot-state.png")

the correct one should say

JAwa Barat and Sumatera Utara.

these are states in indonesia

you can also see the form which displays the correct one.

[ ![Screenshot-state-front.png](/forum/attachment/34919) ](/forum/attachment/34919 "...tate-front.png")

howt to correct this?

- [ ![Screenshot-state.png](/forum/attachment/34918) ](/forum/attachment/34918 "...shot-state.png") [ ](/forum/attachment/34918?download=1 "...shot-state.png")
- [ ![Screenshot-state-front.png](/forum/attachment/34919) ](/forum/attachment/34919 "...tate-front.png") [ ](/forum/attachment/34919?download=1 "...tate-front.png")

Last edit: 9 years 10 months ago by [ronron](/forum/user/40399-ronron "View ronron's Profile").

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

9 years 10 months ago [\#256612](#256612) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[state format issue](/forum/19-hikamarket/887706-state-format-issue#256612 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  for the vendors listing, the state is displayed with Id and other details.  this is what i see state&#95;Sumatera&#95;Utara&#95;1773.  how do we remove the unnecessary details thanks?")*

Hi,

Can you please add the line Code:

$fieldsClass-&gt;handleZoneListing($displayFields['vendor'], $rows);

at the end of the function listing of the file "components/com_hikamarket/views/vendormarket/view.html.php".
It will process the "zone" custom field to let them have the human readable content.

Regards,

---

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

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

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

9 years 10 months ago -  9 years 10 months ago [\#256680](#256680) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[state format issue](/forum/19-hikamarket/887706-state-format-issue#256680 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  for the vendors listing, the state is displayed with Id and other details.  this is what i see state&#95;Sumatera&#95;Utara&#95;1773.  how do we remove the unnecessary details thanks?")*

thank you

can you tell me where exactly to add it?
Code:

code removed

thanks again

Last edit: 9 years 10 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: code removed

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

9 years 10 months ago [\#256712](#256712) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[state format issue](/forum/19-hikamarket/887706-state-format-issue#256712 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  for the vendors listing, the state is displayed with Id and other details.  this is what i see state&#95;Sumatera&#95;Utara&#95;1773.  how do we remove the unnecessary details thanks?")*

Hi,

Please do not paste view content in the forum.
You can be sure that, as the developer of HikaMarket I already have all the view content.

Like I wrote

> at the end of the function listing of the file "components/com\_hikamarket/views/vendormarket/view.html.php".

And at the end of that specific function in that specific file, you will find the line : Code:

$this-&gt;assignRef('displayFields', $displayFields);

Regards,

---

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

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

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

9 years 10 months ago [\#256755](#256755) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[state format issue](/forum/19-hikamarket/887706-state-format-issue#256755 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  for the vendors listing, the state is displayed with Id and other details.  this is what i see state&#95;Sumatera&#95;Utara&#95;1773.  how do we remove the unnecessary details thanks?")*

sorry about that.

anyway i dont have that information. tha last one on my file located at

../public_html/components/com_hikamarket/views/vendormarket/view.html.php

is this one Code:

$this-&gt;assignRef('extraFields', $extraFields); $this-&gt;assignRef('vendorFields', $vendorFields); } }

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

9 years 10 months ago [\#256757](#256757) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[state format issue](/forum/19-hikamarket/887706-state-format-issue#256757 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  for the vendors listing, the state is displayed with Id and other details.  this is what i see state&#95;Sumatera&#95;Utara&#95;1773.  how do we remove the unnecessary details thanks?")*

Hi,

Yes, it's the right place.
I have to guess that the line I gave you is a new line added for the next release. My bad.

Regards,

---

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

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

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

9 years 10 months ago [\#256921](#256921) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[state format issue](/forum/19-hikamarket/887706-state-format-issue#256921 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  for the vendors listing, the state is displayed with Id and other details.  this is what i see state&#95;Sumatera&#95;Utara&#95;1773.  how do we remove the unnecessary details thanks?")*

hi jerome

i did not work.

i already added the code but nothing has changed, the state is still not displayed correctly.

thanks

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

9 years 10 months ago [\#256942](#256942) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[state format issue](/forum/19-hikamarket/887706-state-format-issue#256942 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  for the vendors listing, the state is displayed with Id and other details.  this is what i see state&#95;Sumatera&#95;Utara&#95;1773.  how do we remove the unnecessary details thanks?")*

Hi,

Please use instead Code:

$fieldsClass-&gt;handleZoneListing($extraFields['vendor'], $rows);

because if you do not have patches for displayFields, the processing on that variable won't do anything on your fields.

Regards,

---

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

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

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

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

9 years 10 months ago [\#256985](#256985) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[state format issue](/forum/19-hikamarket/887706-state-format-issue#256985 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  for the vendors listing, the state is displayed with Id and other details.  this is what i see state&#95;Sumatera&#95;Utara&#95;1773.  how do we remove the unnecessary details thanks?")*

it worked perfectly.

but what do you mean by patches?

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

9 years 10 months ago [\#257026](#257026) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[state format issue](/forum/19-hikamarket/887706-state-format-issue#257026 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  for the vendors listing, the state is displayed with Id and other details.  this is what i see state&#95;Sumatera&#95;Utara&#95;1773.  how do we remove the unnecessary details thanks?")*

Hi,

I mean that you're using HikaMarket 1.7.2 and in my local website I have never version of HikaMarket (which do not have a release number yet).
But you can be sure that the improvement will be include in the next release.

Regards,

---

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

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

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

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

9 years 10 months ago [\#257143](#257143) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[state format issue](/forum/19-hikamarket/887706-state-format-issue#257143 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  for the vendors listing, the state is displayed with Id and other details.  this is what i see state&#95;Sumatera&#95;Utara&#95;1773.  how do we remove the unnecessary details thanks?")*

hi

it only works for the vendor page

on my product listing page which is show_tabular.php the result is still unformated.

the code i used to display the zone is
Code:

echo $this-&gt;element-&gt;vendor-&gt;vendor_address_state;

thanks

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

9 years 10 months ago [\#257151](#257151) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[state format issue](/forum/19-hikamarket/887706-state-format-issue#257151 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  for the vendors listing, the state is displayed with Id and other details.  this is what i see state&#95;Sumatera&#95;Utara&#95;1773.  how do we remove the unnecessary details thanks?")*

Hi,

Yes the patch I gave you is just for the vendor page.
If you want to display vendor details in the product page, it will require some extra code if you want to format and display correctly the fields. Code:

$fieldsClass = hikashop_get('class.field'); $vendor_fields = $fieldsClass-&gt;getFields('display:vendor_page=1', $this-&gt;element-&gt;vendor, 'plg.hikamarket.vendor') /* ... */ echo $fieldsClass-&gt;show($vendor_fields['vendor_address_state'], $this-&gt;element-&gt;vendor-&gt;vendor_address_state);

Regards,

---

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

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

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

- **[ronron](/forum/user/40399-ronron "View ronron's Profile")**
- [![ronron's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/bad_baby.jpg)](/forum/user/40399-ronron "View ronron's Profile") Topic Author
- [ Offline](/forum/user/40399-ronron)

Less More

- Posts: 490
- Thank you received: 2
-
-

9 years 10 months ago [\#257180](#257180) by [ronron](/forum/user/40399-ronron "View ronron's Profile")  Replied by *[ronron](/forum/user/40399-ronron "View ronron's Profile")* on topic *[state format issue](/forum/19-hikamarket/887706-state-format-issue#257180 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  for the vendors listing, the state is displayed with Id and other details.  this is what i see state&#95;Sumatera&#95;Utara&#95;1773.  how do we remove the unnecessary details thanks?")*

working code for the product view

Code:

$fieldsClass = hikashop_get('class.field'); $vendor_fields = $fieldsClass-&gt;getFields('display:vendor_page=1', $this-&gt;element-&gt;vendor, 'plg.hikamarket.vendor'); $fieldsClass-&gt;handleZoneListing($extraFields['vendor'], $rows); echo $fieldsClass-&gt;show($vendor_fields['vendor_address_state'], $this-&gt;element-&gt;vendor-&gt;vendor_address_state);

thanks you jerome

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

9 years 10 months ago [\#257214](#257214) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[state format issue](/forum/19-hikamarket/887706-state-format-issue#257214 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5 -- Error-message(debug-mod must be tuned on) -- : none  hi  for the vendors listing, the state is displayed with Id and other details.  this is what i see state&#95;Sumatera&#95;Utara&#95;1773.  how do we remove the unnecessary details thanks?")*

Hi,

There is need of the "handleZoneListing", the " /* ... */ " I placed was mostly to indicate that the last line could be paste further.
But I posted all the needed code in my message.

Regards,

---

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

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

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

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

[](#top)
