how to display more data

  • Posts: 106
  • Thank you received: 0
9 years 2 months ago #244180

Hi. For every ebook i want display also published date, author name, publisher name. Obviously user cannot edit these fields but only see and filters the search for those too.
What's the best way to do that?

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

  • Posts: 2143
  • Thank you received: 747
9 years 2 months ago #244181

Create a custom field of the table "Product" for each of these "specifications".
They'll show on the product page if enabled.
www.hikashop.com/support/documentation/4...shop-field-form.html

Then you can create and use filters for your visitors to search for and list product depending on field values.
www.hikashop.com/support/documentation/1...-filter-listing.html


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 9 years 2 months ago by lousyfool.

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

  • Posts: 106
  • Thank you received: 0
9 years 2 months ago #244183

I created the field author (as text field) in product table. But in the product details i cannot add the author name. There is no way to add it.
And about the publishing date? I think do i have to use date picker? Or what?

Attachments:

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

  • Posts: 106
  • Thank you received: 0
9 years 2 months ago #244185

Ok i solved about author. What about date?
I tried the field simple date picker but i cannot select any date because when i click on the day of the mini calendar no any date appears.
I see the error i attach here.

Attachments:
Last edit: 9 years 2 months ago by french150.

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

  • Posts: 2143
  • Thank you received: 747
9 years 2 months ago #244188

Sorry, didn't mean these specifications in the product add/edit pages (not sure why the section is named that...). That's "Characteristics" etc as you can see.
So, whatever you've done there, please revert.

Instead, in the HikaShop backend go to -> Display -> Custom fields. There create new custom fields, one for author, another for publishing date, etc. See the link in my previous post for details.

Then you'll be able to fill in these fields in the product add/edit pages in the "Custom Fields" section.

In the frontend, on product pages, custom product field names and values will be displayed under a legend typically named "Specifications"... ( see example here ) which I was referring to, and which caused the confusion, obviously... thanks to two different meaning of "Specifications" in front end and backend... :(


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 106
  • Thank you received: 0
9 years 2 months ago #244189

Yes i already did as you said, but still i have the issue about the date that i posted you above. I cannot save any date.

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

  • Posts: 2143
  • Thank you received: 747
9 years 2 months ago #244191

In the HikaShop backend -> System -> Configuration -> tab Plugins, make sure the plugin "HikaShop: Date Picker Custom Field" is installed and enabled.
Once done, go back to editing the custom field, and then you should be able to find the option "Advanced date picker" in the "Field type" dropdown of the custom field configuration. Use this, it should work.

In case of this plugin missing or problems persisting, download the latest HikaShop package and install it again, it should all work then. I read that recently the date picker was patched due to some JS issues.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 9 years 2 months ago by lousyfool.

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

  • Posts: 106
  • Thank you received: 0
9 years 2 months ago #244194

Ok it was unpublished and i published it. Why you don't show an alert in hika shop if some plugin isn't enabled? However now i get another error when i try to set the date. See the attachment.

Attachments:

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

  • Posts: 106
  • Thank you received: 0
9 years 2 months ago #244262

Waiting for your solution. I cannot save new product yet because the date field is required and i cannot add it for the issue i told you above.

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

  • Posts: 2143
  • Thank you received: 747
9 years 2 months ago #244278

french150 wrote: Waiting for your solution. I cannot save new product yet because the date field is required...


Usually replies are given here within 24hrs; else is an extremely rare exception.
Meanwhile, as a temporary workaround, you could unpublish the field, or set it to not required.

Why you don't show an alert in hika shop if some plugin isn't enabled?


Just FYI, it's not "me"... I'm a user just like you, just helping out here.
Then, like most if not all other plugins, this is optional, means no one forces you to use it. Imagine you always get alerts for everything you could use but don't need or want... ;)

Re. date format:
1. As already said, just in case, please make sure you have a very recent 2.6.3 as the one you have now might miss some brand-new hot fixes. Please confirm that you downloaded the latest HikaShop package and installed it since my previous post.
2. If so, and if the error persists: Please post a screenshot of the settings of the date picker field.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 106
  • Thank you received: 0
9 years 2 months ago #244283

Just FYI, it's not "me"... I'm a user just like you, just helping out here.
Then, like most if not all other plugins, this is optional, means no one forces you to use it. Imagine you always get alerts for everything you could use but don't need or want... ;)


Obviously i am not talking with you but with Hikashop team support. :)

Re. date format:
1. As already said, just in case, please make sure you have a very recent 2.6.3 as the one you have now might miss some brand-new hot fixes. Please confirm that you downloaded the latest HikaShop package and installed it since my previous post.
2. If so, and if the error persists: Please post a screenshot of the settings of the date picker field.


I downloaded and installed the last package yesterday in the night after i read your reply, so i think it is the latest.
I attach the settings of the date picker custom field as you asked me.
Thanks.
Best regards

Attachments:

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

  • Posts: 2143
  • Thank you received: 747
9 years 2 months ago #244284

As I said in my post above :

... you should be able to find the option "Advanced date picker" in the "Field type" dropdown of the custom field configuration. Use this, it should work.


But you set it to "Simple date picker", not "Advanced".

So, please do as suggested, save, and try again.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 106
  • Thank you received: 0
9 years 2 months ago #244286

You are right, now it works. So the question is why the simple date picker doesn't work?
However thanks a lot!

Best regards

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

  • Posts: 2143
  • Thank you received: 747
9 years 2 months ago #244288

Glad it's solved... phew... :)

I know, it's a complex system, plus misunderstandings do happen - see "specifications", haha. But please (keep) study(ing) the documentation here , it's a huge and mostly sufficient resource. For specific references, the search there (and here on the forum) is working well, too.
And please try to follow advice/instructions/etc carefully... it saves everyone time and effort... you too.
Thanks.

E.g. search the forum for "date picker". I remember reading somewhere that the simple date picker isn't reliable due to JS issues. Whatever, the advanced one offers a lot more, anyway!


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 9 years 2 months ago by lousyfool. Reason: "specifications"..........

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

  • Posts: 13201
  • Thank you received: 2322
9 years 2 months ago #244274

Hi,

In the custom field options, what value have you filled for the option "Format" ?
I just tried with the default value "d/m/Y" and there is no issue, products can be saved correctly.

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

Time to create page: 0.114 seconds
Powered by Kunena Forum