VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: cristina on August 22, 2023, 13:00:37 PM

Title: Problem with product admin page override
Post by: cristina 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
Title: Re: Problem with product admin page override
Post by: cristina 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
Title: Re: Problem with product admin page override
Post by: AH on September 08, 2023, 16:33:35 PM
you need to understand how the new layouts function especially the new vmuikit  (uikit)

Title: Re: Problem with product admin page override
Post by: cristina 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.