Custom Field to a Product Page

  • Posts: 6
  • Thank you received: 0
6 years 1 month ago #290084

-- HikaShop version -- : 3.4

Hello, I've been looking through the forum and seem to be going in circles, I am looking to ad a customer field to my product listing like "part number" or information that I can input in the product outside of the description where can I find the process to do this? I have business edition

and then if this possible can I then add the custom field up around the product where the price is

Last edit: 6 years 1 month ago by erenninger.

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

  • Posts: 4519
  • Thank you received: 611
  • MODERATOR
6 years 1 month ago #290105

Hello,

Follow me step by step :
1°) Create an Product custom field :
- Go in Main HikaShop Configuration => Display dropdown => Custom Fields
- Click on New button, and define your new custom field type as Product
- Define your required settings
Note : See this tutorial to learn more about Custom field configuration
- Highligths on this Display option that will be important to achive what you need :



2°) Go to Menus => Main Menu, then select your concerned Item Menu for your listing, and check in Products options tab and have a look on Display option :



3°) Maybe you will have to use some css code to move where it's required, but you have to know that the custom field will be displayed just below the price.

Hope this will fit your needs.
Regards

Last edit: 6 years 1 month ago by Philip.

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

  • Posts: 6
  • Thank you received: 0
6 years 1 month ago #290143

Excellent, Thank you, one final question, is there a place where I can configure the arrangement of the pricing, meaning if I would like to have the pricing below the custom element? Maybe a php file somewhere?

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

  • Posts: 4519
  • Thank you received: 611
  • MODERATOR
6 years 1 month ago #290168

Hello,

Yes, you can create an override view (custom field) thanks to html & php knowledge, to learn more about it see this tutorial .
Then follow me for a little tips :
- Go to Main HikaShop Configuration, then Advanced tab
- In ADVANCED SETTINGS part, have a look for the first option "Display view files" then select front-end
=> As result, you will see that :



That will help you to find the required view, then go to override view configuration, like this :
- In Main HikaShop Configuration, go on Display dropdown and select Views
- Use the 3 dropdown Filters with Product/ Your Template/ Frontend
- Click on Listing_img to edit it
- here you have to find the display blocks for price and custom fields, like on this screenshot :



- You have just to reverse the 2 blocks

Hope this will fit your needs
Regards

Last edit: 6 years 1 month ago by Philip.

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

  • Posts: 6
  • Thank you received: 0
6 years 1 month ago #290172

Excellent support

I found where I need to edit show_default.php and/or show.php Only thing is that the markup notes/comments are not shown, just the code and no notes? Could it the editor?

Last edit: 6 years 1 month ago by erenninger.

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

  • Posts: 4519
  • Thank you received: 611
  • MODERATOR
6 years 1 month ago #290173

Hello,

Yes you're right I forgot that only the team HikaShop have these comments... Sorry for this, that will be more hard on your side...
I note that you speak about show & show_default, is it for another custom ?
Because if I understand your need you have to edit the listing_img to reverse the 2 blocks.

If you want to help us, don't hesitate to note and comment our job in Joomla Extension Directory

Regards

Last edit: 6 years 1 month ago by Philip.

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

  • Posts: 17
  • Thank you received: 1
1 year 11 months ago #341440

the image can't be loaded,
plz check for image display
thanks in advance

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

  • Posts: 4519
  • Thank you received: 611
  • MODERATOR
1 year 11 months ago #341464

Hello,

Please be more specific ans provide more elements in order to allow us to understand your current issue, because we aren't sure to understand you issue.

Provides these kind of elements in order to help us to help you :
- Define your needs, purpose and any details in order to understand what you want achieve.
- Relative screenshot settings
- Relative Url link to frontend (context where you want achieved your settings or custom)

Awaiting your elements to progress on your subject.
Regards

Last edit: 1 year 11 months ago by Philip.

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

Time to create page: 0.071 seconds
Powered by Kunena Forum