Cart module and custom fields

  • Posts: 9
  • Thank you received: 1
10 years 3 months ago #189478

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.28

I found a partial answer to this problem but I wanted to know if there was a simpler solution. I do not wish to remove the custom fields from the cart module on checkout but I do want to remove from the cart module I have created and placed on the sidebar. This code:

hikashop_cart_product_custom_item_fields{display:none; }
removes it completely from the checkout cart module. No good.


This code:

hikashop_cart_module .hikashop_cart_item_(where this is the custom field name) {display: none;}
removes one custom field but if you have many fields this can get extremely time consuming as you have to enter them one by one.

Is there a code that will work more efficiently? I have tried several combinations using .hikashop_cart_product_custom_item_fields
but cannot get anything to work.

Thanks for any info.

Last edit: 10 years 3 months ago by saturnsky.

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

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

Hi,

I think that you have to use something like:

#hikashop_cart_module .hikashop_cart_product_custom_item_fields{display:none; }

#hikashop_cart_module allow to restrict the property only for the cart module.

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

Time to create page: 0.140 seconds
Powered by Kunena Forum