Customization of the inserted elements via Product button in Joomla article

  • Posts: 88
  • Thank you received: 0
8 years 8 months ago #252886

Hello,

I would like to customize the look of the elements added into a Joomla article, but unfortunately I am not able to overwrite the existing CSS...


That is how the article is build


and here the page


Should I customize the existing CSS (ie .hikashop_product_price_full, etc.) ?

How can I get rid of the "per unit " ("l'unité" in French) ? should I change the "pricetax1" call to something else ?

I am new to Hikashop and find this solution very great !

Thanks in advance for your help and advise,
WBR,
Stéphane

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
8 years 8 months ago #252890

Hello Stéphane,

If you want to completely override the displaying of products displayed through a Joomla article, the solution will be to directly edit the "hikashopproductinsert_view.php" file of the "plugins\system\hikashopproductinsert" plugin.

How can I get rid of the "per unit " ("l'unité" in French) ? should I change the "pricetax1" call to something else ?

Using that kind of CSS code will probably do the job :
.hikashop_inserted_product .hikashop_product_price_full .hikashop_product_price_per_unit {
    display: none;
}
www.hikashop.com/support/documentation/1...the-display.html#css

I am new to Hikashop and find this solution very great !

Thank you for your feedback !

Best regards,
Mohamed Thelji.

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

  • Posts: 88
  • Thank you received: 0
8 years 8 months ago #252985

Many thanks Mohamed !

I haven't seen this ( www.hikashop.com/support/documentation/1...the-display.html#css ) page. It will help me a lot.
Have you, maybe, a listing of the actual css classes groups and their related pages (ie. "hikashop_inserted_product" goes with the product insertion process, when cart is inserted into the class name, it is related to the cart, etc.) ?
I am not sure that my English explains very well what I am looking for... :whistle:

Such listing would help to find quickly the class to be modified and where to find the relevant pages.

Again many thanks for you help !
WBR,
Stéphane

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

  • Posts: 12953
  • Thank you received: 1778
8 years 8 months ago #253001

Hello Stéphane !

Actually if you want your CSS code to only affect your inserted products, the solution will just be to use the ".hikashop_inserted_product" class which will only be used when a product is inserted in a Joomla article.

PS: your English is quite understandable :).

Best regards,
Mohamed Thelji.

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

  • Posts: 88
  • Thank you received: 0
8 years 8 months ago #253073

Mohamed Thelji wrote: Hello Stéphane !

Actually if you want your CSS code to only affect your inserted products, the solution will just be to use the ".hikashop_inserted_product" class which will only be used when a product is inserted in a Joomla article.

PS: your English is quite understandable :).

Best regards,
Mohamed Thelji.


Many thanks Mohamed !
That's what I thought, great to see you confirming it.

I'll try to improve my English, but some days I am missing some words...
Best regards,
Stéphane

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

Time to create page: 0.109 seconds
Powered by Kunena Forum