remove per unit for buying at least from module

  • Posts: 32
  • Thank you received: 0
10 years 11 months ago #173602

-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.4
-- Error-message(debug-mod must be tuned on) -- : Hello
I would like all of the modules delete the entry of the order quantity . I do this through css , but it is a bit pointless , since the creation of each module in the CSS I need to add this code:
# hikashop_category_information_module_114 div.hikashop_product_price_per_unit_x
{display : none; }

I do not want to repeat in the near module_114 , module_115 , etc. module_115 so please podpowieć like forever to delete this post ?
If I remove it in a file listing_price , this text disappears in the details of a specific product .
Please help me how to remove the modules.
Regards
Peter
ps . sorry for my english but I'm using google translate

Hello
I would like all of the modules delete the entry of the order quantity . I do this through css , but it is a bit pointless , since the creation of each module in the CSS I need to add this code:
# hikashop_category_information_module_114 div.hikashop_product_price_per_unit_x
{display : none; }

I do not want to repeat in the near module_114 , module_115 , etc. module_115 so please podpowieć like forever to delete this post ?
If I remove it in a file listing_price , this text disappears in the details of a specific product .
Please help me how to remove the modules.
Regards
Peter
ps . sorry for my english but I'm using google translate

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

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

Hello,
A solution can be to use a better CSS code which won't need the id of you module like :

.hikashop_module .hikashop_products_listing_main .hikashop_products_listing .hikashop_product_price_per_unit {
display: none;
}

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

  • Posts: 32
  • Thank you received: 0
10 years 11 months ago #173690

pasted the code that you gave me and unfortunately does not work
:(

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

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

Hi,

And this code:

.hikashop_module .hikashop_product_price_per_unit_x {
display: none !important;
}

The idea is to use a more global css rule, so you can use your browser console to find the best classes to apply the css on. :)

The following user(s) said Thank You: piotreczek100

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

  • Posts: 32
  • Thank you received: 0
10 years 11 months ago #173805

thank you very much :) now it's ok. I have another question;)
How to do that in the modules before the price was the text "from" added the entry in listin.price.php but then this post shows up everywhere and I would like to have it just in modules.
Yours sincerely

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

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

Hi,

To restrict the display of something to the modules only, you can use code like:

if($this->params->get('from_module',0) != 0){
  // Display the content
}

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

  • Posts: 32
  • Thank you received: 0
10 years 11 months ago #174108

Hello, and where should I paste this code?

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

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

Hi,

I don't know which kind of data you are displaying in your module ; but you should edit the corresponding view.
I think that your documentation on display customization will help you:
www.hikashop.com/support/support/documen...ize-the-display.html

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.091 seconds
Powered by Kunena Forum