How to show the product ID on small devices?

  • Posts: 590
  • Thank you received: 23
  • Hikaserial Subscription Hikashop Multisite
7 years 7 months ago #279746

-- Joomla version -- : 3.7.5
-- PHP version -- : 7

Hi Hikashop team,

I found out that on small screens the product id column disappears.
When you open a product you also can't find a product ID number.

Is there a way to easily find the product ID for customers with small screens?
(We need them to fill in into a mass action form. To find out who sold this product.)


Kind regards,
Lumiga
Attachments:
Last edit: 7 years 7 months ago by Lumiga.

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

  • Posts: 12953
  • Thank you received: 1778
7 years 7 months ago #279748

Hello,

In your case the solution will probably be to directly edit your back-end CSS code via "Hikashop->System->Configuration->Display" and change that code :

@media only screen and (max-width: 1280px)
backend_default…506937622:1057
table#hikashop_product_listing tbody td:nth-child(1), table#hikashop_product_listing th:nth-child(1), table#hikashop_product_listing tbody td:nth-last-child(1), table#hikashop_product_listing th:nth-last-child(1), table#hikashop_order_listing tbody td:nth-child(1), table#hikashop_order_listing th:nth-child(1), table#hikashop_order_listing tbody td:nth-last-child(1), table#hikashop_order_listing th:nth-last-child(1) {
    display: none;
}

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

  • Posts: 590
  • Thank you received: 23
  • Hikaserial Subscription Hikashop Multisite
7 years 7 months ago #279841

Thanks, but it would be nice if this fix would be added into one of the next releases.
Otherwhile I have to update this file for 5 websites on every new version of Hikashop.
Another solution would be to add this ID-number into the product page on the backend.

But thanks for the code.

Kind regards,
Lumiga


Kind regards,
Lumiga

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

  • Posts: 83780
  • Thank you received: 13570
  • MODERATOR
7 years 7 months ago #279863

Hi,

No. It's done on purpose to remove that less useful columns on small screens so that the listing is still displayed with enough space for each visible column and doesn't go outside of the screen.
It's part of having a "responsive" design.
So we won't remove that CSS in the next release.
Also, the product id is visible in the address bar of your browser when you open a product.

The following user(s) said Thank You: Lumiga

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

Time to create page: 0.074 seconds
Powered by Kunena Forum