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

#   Import and display product status (new/refurbished)

##

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

Less More

- Posts: 80
- Thank you received: 8
-
-
-
-

6 years 10 months ago -  6 years 10 months ago [\#314489](#314489) by [bp54](/forum/user/33970-bp54 "View bp54's Profile")  *[Import and display product status (new/refurbished)](/forum/26-product-category-display/898953-import-and-display-product-status-new-refurbished#314489 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Chrome latest version -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I import a csv from our supplier by means of the Products Cron Update Plugin. The csv contains a field called productstatus and contains values like New, Refurbished, renewed etc.. Now i would like to show this status on the product page.  I first tried to add a custom product field but this field was not displayd on the product page. Then found somewhere in the forum that it should be a item custom field. When i add this field it is displayd on the product page but on the product listing the &quot;add to cart&quot; button disappears and a &quot;choose options&quot; button is displayd. Now i'm lost...  1. What is the right way to have the productstatus displayd on the productpage? 2.Is a customfield the way to go and then what should be the fieldname to import the productstatus after creating the customfield?  Update 1: I now created a product field of the type text with the name product&#95;stat and attached it to the supplier field Products Cron Update Plugin. Now after the cron has been running the Status is displayd on both the product page and the product overview page.  So far so good. But now i need to create a filter for the values in the text field but to my supprise i read somewhere in the forum that a filter for a customfield of the type text is not possible.  What could i do to create such a filter. The values in the Status field are New, Refurbished Gold and refurbished silver.")* was created by *[bp54](/forum/user/33970-bp54 "View bp54's Profile")*

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.14
-- PHP version -- : 7.2
-- Browser(s) name and version -- : Chrome latest version
-- Error-message(debug-mod must be tuned on) -- : n/a

Hi,

I import a csv from our supplier by means of the Products Cron Update Plugin. The csv contains a field called productstatus and contains values like New, Refurbished, renewed etc.. Now i would like to show this status on the product page.

I first tried to add a custom product field but this field was not displayd on the product page. Then found somewhere in the forum that it should be a item custom field. When i add this field it is displayd on the product page but on the product listing the "add to cart" button disappears and a "choose options" button is displayd.
Now i'm lost...

1. What is the right way to have the productstatus displayd on the productpage?
2.Is a customfield the way to go and then what should be the fieldname to import the productstatus after creating the customfield?

**Update 1:** I now created a product field of the type text with the name product_stat and attached it to the supplier field Products Cron Update Plugin. Now after the cron has been running the Status is displayd on both the product page and the product overview page.

So far so good. But now i need to create a filter for the values in the text field but to my supprise i read somewhere in the forum that a filter for a customfield of the type text is not possible.

What could i do to create such a filter. The values in the Status field are New, Refurbished Gold and refurbished silver.

Last edit: 6 years 10 months ago by [bp54](/forum/user/33970-bp54 "View bp54's Profile").

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

6 years 10 months ago [\#314492](#314492) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Import and display product status (new/refurbished)](/forum/26-product-category-display/898953-import-and-display-product-status-new-refurbished#314492 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Chrome latest version -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I import a csv from our supplier by means of the Products Cron Update Plugin. The csv contains a field called productstatus and contains values like New, Refurbished, renewed etc.. Now i would like to show this status on the product page.  I first tried to add a custom product field but this field was not displayd on the product page. Then found somewhere in the forum that it should be a item custom field. When i add this field it is displayd on the product page but on the product listing the &quot;add to cart&quot; button disappears and a &quot;choose options&quot; button is displayd. Now i'm lost...  1. What is the right way to have the productstatus displayd on the productpage? 2.Is a customfield the way to go and then what should be the fieldname to import the productstatus after creating the customfield?  Update 1: I now created a product field of the type text with the name product&#95;stat and attached it to the supplier field Products Cron Update Plugin. Now after the cron has been running the Status is displayd on both the product page and the product overview page.  So far so good. But now i need to create a filter for the values in the text field but to my supprise i read somewhere in the forum that a filter for a customfield of the type text is not possible.  What could i do to create such a filter. The values in the Status field are New, Refurbished Gold and refurbished silver.")*

Hi,

A custom field of the table "product" is the way to go in your case.
Note that for the field to appear on the product page you need to have its display option activated for the frontend product details page and the value of that field in the product should not be empty.
The column name to use in the CSV for the import will be the "column name" that you configured in the custom product field when you created it.

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

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

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

Less More

- Posts: 80
- Thank you received: 8
-
-
-
-

6 years 10 months ago [\#314500](#314500) by [bp54](/forum/user/33970-bp54 "View bp54's Profile")  Replied by *[bp54](/forum/user/33970-bp54 "View bp54's Profile")* on topic *[Import and display product status (new/refurbished)](/forum/26-product-category-display/898953-import-and-display-product-status-new-refurbished#314500 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Chrome latest version -- Error-message(debug-mod must be tuned on) -- : n/a  Hi,  I import a csv from our supplier by means of the Products Cron Update Plugin. The csv contains a field called productstatus and contains values like New, Refurbished, renewed etc.. Now i would like to show this status on the product page.  I first tried to add a custom product field but this field was not displayd on the product page. Then found somewhere in the forum that it should be a item custom field. When i add this field it is displayd on the product page but on the product listing the &quot;add to cart&quot; button disappears and a &quot;choose options&quot; button is displayd. Now i'm lost...  1. What is the right way to have the productstatus displayd on the productpage? 2.Is a customfield the way to go and then what should be the fieldname to import the productstatus after creating the customfield?  Update 1: I now created a product field of the type text with the name product&#95;stat and attached it to the supplier field Products Cron Update Plugin. Now after the cron has been running the Status is displayd on both the product page and the product overview page.  So far so good. But now i need to create a filter for the values in the text field but to my supprise i read somewhere in the forum that a filter for a customfield of the type text is not possible.  What could i do to create such a filter. The values in the Status field are New, Refurbished Gold and refurbished silver.")*

Thank you Nicolas. It works. Only issue was the Text field did not show up. Now that i changed it to single dropdown it works like a charm and even better, i now can translate the values from the supplier csv.

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

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