Custom field display limited to feature...

  • Posts: 292
  • Thank you received: 5
  • Hikashop Business
12 years 8 months ago #22303

In the product admin screen I have a custom field which is a select box.

<select onchange="hikashopToggleFields(this.value,'product_tab_mode','product',0);"
     size="1" name="data[product][product_tab_mode]" id="product_tab_mode">
  <option selected="selected" id="product_tab_mode_jqtab" value="jqtab">
    JQuery Tab
  </option>
  <option id="product_tab_mode_jqaccordion" value="jqaccordion">
    JQuery Accordion
  </option>
</select>
I created another custom field which only shows when the JQuery Tab is selected.
Toggling the select box hides / shows this custom field correctly.
However, on entry to the product admin screen this second custom field is always shown.
It should only be shown when the currently selected value is JQuery Tab.

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
12 years 8 months ago #22337

Could you do a screenshot of both custom fields configuration so that we can reproduce the problem ? We tried but it was working so maybe we're missing something...

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

  • Posts: 292
  • Thank you received: 5
  • Hikashop Business
12 years 8 months ago #22394

Just tried again and was still getting the same issue.
So tried a different combination of 2 fields and that worked.
Tried another combination and that worked.
Went back to the first settings I tried and that now works!

This is on a development machine, recloned it from live site.
Reinstalled Hikashop 1.5.3.
Now works OK, maybe something peculiar with the original setup.

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

  • Posts: 292
  • Thank you received: 5
  • Hikashop Business
12 years 8 months ago #22396

Having had a play with the limited to feature on products and thinking how I might use it on an existing site I encountered a limitation:

This works fine:

Field1 - single value select list with possible values of A,B,C,D,E,F,G.
Field2 - text limited to Field1 with value of C

This appears not to be possible:

Field1 - single value select list with possible values of A,B,C,D,E,F,G.
Field2 - text limited to Field1 with value of C,D or G

Should the limited to be a multi-select list?

Similarly in the following case should the limited to parameter be able to match regular expressions?
(e.g. ^.+$ to detect a non-null field or ^$ to detect a null field or ^[0-9]+$ to detect a numeric value)+

Field1 - text.
Field2 - text limited to Field1 with value abcd

Neither are big issues at the moment, just ideas for the wishlist.

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
12 years 8 months ago #22407

Thanks for the ideas. That would be nice improvements indeed. We'll put that on the todo list.

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

  • Posts: 21
  • Thank you received: 0
11 years 5 months ago #76297

Hi!

I have just installed a latest fresh vers of Hikashop. I'm having the "limited to view" problem :(
Please take a look here:
googledeal.com/main-product-categories/p...me-flight-hotel.html

The fields of 2nd and 3rd passenger (firstname, lasname and date of birth) are supposed to be viewed if the user selects "Add new passenger" from the coresponding dropdown list. The problem is the fields are always visible, whatever the value is selected in the drop down :(

Also when I click the calendar icon of date fields, it does not respond

I have attached a file with the warnings and errors those are detected by firefox, when I load the above mentioned page

File Attachment:

File Name: Warning.doc
File Size:123 KB

Attachments:
Last edit: 11 years 5 months ago by abbakhan.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #76428

Hi,

Could you give us a screenshot of your custom field "add new passenger (2)" configuration ?

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

  • Posts: 21
  • Thank you received: 0
11 years 5 months ago #76449

Thank you!

I just did delete all the "Custom fields" I had added. After deleting I created couple of fields in item table and assigned them to certain folder and sub-folders. Now the custom fields are not being visible in product page of the products in the over mentioned directories. More over when I do not limit a "Custom field" to be visible to products of specific categorie(s) then it is visible in product page, but when I limit it to a category then the "Custom field" is not visible in product page any more, instead its being visible in product lists of HikaShop Content Module's product, which is an unwanted property. I wish you could have a look if I provide you with my admin detail.

I must mention that I have edited the product/cart.php file. From there I have removed the <a href=the link> .. and the ending </a> to remove the link from the cart products. I do not have a backup of the file. Can I find it from the Hikashop package?

Last edit: 11 years 5 months ago by abbakhan.

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

  • Posts: 21
  • Thank you received: 0
11 years 5 months ago #76542

I'm really stucked! I have tried everything. Fynally I tried to uninstall and delete everything then reinstall! Nothing help! Please do something with the issue, thank you!

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
11 years 5 months ago #76644

Hi,

If you edit views, you can use the "remove customization" button in the view listing.
Uninstalling/Reinstalling HikaShop won't delete your customization which are in a specific directory out of HikaShop (in your template directory /template/YOUR_TEMPLATE/html/com_hikashop/...).
We made it specially to not touch client customization while updating :)

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: 21
  • Thank you received: 0
11 years 5 months ago #76651

Thank you!

The main problem exists! :(
I did manage to remove/restore the customization of view. That did not help me to solve the main problem I have mentioned above. Let me explain the problem I'm facing right now here:

I need some "Custom Fields" in table--> "item". I have created couple of "Custom Fields" in--> "item" table and assigned them to the products of a "Category" and all the Sub Categories of that directory. NOW in front end when I goto the products' pages of the Categorie(s), the "Custom Fields" are not being viewed there. How can I solve this problem?

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
11 years 5 months ago #76652

Hi,

Can you please send me a backend access to your website by private message ?
I will check your 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: 21
  • Thank you received: 0
11 years 5 months ago #76742

just sent it

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
11 years 5 months ago #76747

Hi,

Sorry, I don't have private message from you.
You can use this link: www.hikashop.com/en/component/uddeim/?task=new&recip=80

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: 26007
  • Thank you received: 4004
  • MODERATOR
11 years 5 months ago #76772

Hi,

Problem fixed in your website.
I have installed the latest version of the package.
The download package is now up to date so everyone could have the fix.

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.

Time to create page: 0.128 seconds
Powered by Kunena Forum