Custom Fields for products

  • Posts: 203
  • Thank you received: 0
10 years 11 months ago #174527

-- HikaShop version -- : HikaShop Essential 2.3.3
-- Joomla version -- : 3.3.3.
-- PHP version -- : 5.4.30
-- Browser(s) name and version -- : Firefox 32

Hello Support team,

im trying to set up a field for diameter. I wannt it to appear in the products like lenght and highth and so on.

I have published the new, but i cant see the new field anywhere.

Thx

Andreas

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 11 months ago #174542

Hello,
To do that a solution can be to create 2 Item custom fields which are only available through the business version.

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
10 years 11 months ago #174649

Thx

and how do i do that?

which table do i have to use?

Thx

Andreas

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 11 months ago #174664

You'll have to create them via "Hikashop->Display->Custom fields" and set their "Table" option to Item.

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
10 years 11 months ago #174799

awesomescreenshot.com/05a3mdmvf9

awesomescreenshot.com/0ee3mdne2f

Hello it does not seem to work.

What am i doing wrong?

Please Log in or Create an account to join the conversation.

  • Posts: 84303
  • Thank you received: 13698
  • MODERATOR
10 years 11 months ago #174888

Hi,

It seems mohamed didn't understand your question. If you want a field to work like the "weight", "width", etc fields, you want to create a custom field of the table "product" and not of the table "item". The custom fields of the table "product" will display on the product edition page on the backend while the custom fields of the table "item" will display on the product details page on the frontend.

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
10 years 11 months ago #174940

I tried this nicolas

but it does not work.

Anyidea why?

Please Log in or Create an account to join the conversation.

  • Posts: 84303
  • Thank you received: 13698
  • MODERATOR
10 years 11 months ago #175025

Hi,

Can you please provide a screenshot of the options screen of your custom product field so that we can see how you configured it ?

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
10 years 10 months ago #175669

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 10 months ago #175686

Hi,

The only thing which could cause this problem is the restriction on the category.
Is that your main product category, or at least the parent category of the products which must have a diameter ?

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
10 years 10 months ago #176008

Deko is the parent category

i activated subcategories too but with no success

Please Log in or Create an account to join the conversation.

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 10 months ago #176074

Hi,

What is "no success" ?
The configuration of your product custom field looks good (except for the category part where we can't know if it is really good or not).
But, if the category is right, you should be able to see the custom field in the HikaShop backend and then, in the front-end for the products which have the custom field and which have a value for the custom field.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
10 years 10 months ago #176135

awesomescreenshot.com/07e3opsj31

awesomescreenshot.com/0f73opsmc2

see ?

it does not work this way

where is the failure?

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
10 years 10 months ago #176137

Okay

i have to choose every subcategory :-(

But i want the field to show up like length heigth and so on

awesomescreenshot.com/09c3optr1e

How do i do that ?

Please Log in or Create an account to join the conversation.

  • Posts: 84303
  • Thank you received: 13698
  • MODERATOR
10 years 10 months ago #176163

Hi,

Edit the file show_block_custom_main via the menu Display>Views, cut all the code from it and paste it in the show_block_dimensions file and you'll get the custom field right below the dimensions area.
And you remove the specification text, you can use some simple CSS to hide it:
.hikashop_product_custom_info_main h4{ display: none; }

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
10 years 10 months ago #176501

Sorry nicolas

this does not work for me

i get a blank screen

:-(

Please Log in or Create an account to join the conversation.

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 10 months ago #176626

Hi,

If you got a blank screen it means that you have a PHP fatal error.
Please check your PHP error log or activate the error reporting in your Joomla global configuration.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
10 years 10 months ago #177008

Cant find a fix.

would it be possible for you to have a lokk at it.

thx

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 10 months ago #177022

Hello,
Did you check your PHP error log ? Also can you activate the error reporting in your Joomla global configuration so that we can have more information about the error that you are having ?
Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
10 years 10 months ago #177491

Yes i did but no clue what to do.

I want to have costum fields displayed under the normal fields like lenght height..... and so on

thx

Please Log in or Create an account to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum