Author Topic: Problem with product admin page override  (Read 648 times)

cristina

  • Beginner
  • *
  • Posts: 30
    • Collector Avenue
  • VirtueMart Version: 4.0.22 10864
Problem with product admin page override
« on: August 22, 2023, 13:00:37 PM »
Hi,
I would like to override the product list in VM Admin, to add 1 field in the listing.
I modified the com_virtuemart/views/product/default.php changing 1 line in the column header part and the lines where the original php displays the product reviews (I want the product quantity instead).
I create the override in the Autm template
It works, but the form layout is a mess.
I attached 2 images, the first is the original view and the second is the view with the override.
I can easly post the modified php if needed, but I do not think the code is a problem.
Could someone help?
Thank you
VM 4.0.22 10864 - Joomla! 4.3.2 - php 8.0.27

cristina

  • Beginner
  • *
  • Posts: 30
    • Collector Avenue
  • VirtueMart Version: 4.0.22 10864
Re: Problem with product admin page override
« Reply #1 on: September 08, 2023, 12:20:22 PM »
85 views and no answer?
I still encounter the same problem and I do not have any idea how to solve it.
Could someone help?
Thanks in advance
VM 4.0.22 10864 - Joomla! 4.3.2 - php 8.0.27

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3517
  • VirtueMart Version: 4.0.12.10777
Re: Problem with product admin page override
« Reply #2 on: September 08, 2023, 16:33:35 PM »
you need to understand how the new layouts function especially the new vmuikit  (uikit)

Regards
A

Joomla 3.10.11
php 8.0

cristina

  • Beginner
  • *
  • Posts: 30
    • Collector Avenue
  • VirtueMart Version: 4.0.22 10864
Re: Problem with product admin page override
« Reply #3 on: September 10, 2023, 16:23:02 PM »
Thank you.
Are you saying taht VM does no longer follow the normal override mechanism?
I must admit that I'm not an expert, but it sounds strange to me.
Can you post some link to the documentation?
I did a search, but without results.
Thank you again for you answer.
VM 4.0.22 10864 - Joomla! 4.3.2 - php 8.0.27