Hi there,
i am using VM 2.6.6. I want to hide the sku in the confirmation mails and the "view orders online" page. Does anyone know where are the files located?
best regards
sean
I am using VM 3 and they are overthere in the ***_items.php files.
So I would guess that in VM 2, they would be in:
\components\com_virtuemart\views\invoice\tmpl\invoice_items.php
and
\components\com_virtuemart\views\orders\tmpl\details_items.php
If you alter them, I would suggest to do that through a template override.
Besides that; use an editor like Dreamweaver, so you can see what you are doing and which also alters automatically the colspans if needed.
Further more you have to adjust the percentage of other cells, so you'll have a total of 100% width again.
The SKU field uses 5% of the total width (of 100%), if you don't adapt that also, your layout will be messy.
In VM2.x the files to override are:
components/com_virtuemart/views/invoice/tmpl/invoice_items.php
components/com_virtuemart/views/invoice/tmpl/mail_raw_pricelist.php
components/com_virtuemart/views/orders/tmpl/details_items.php
BTW for security reasons you should be using at least VM2.6.10 - current latest is VM2.6.17 http://virtuemart.net/news/latest-news/462-security-release-of-vm2-6-10-and-vm2-9-9b
hey,
thank you for your help.
i was ablemtp hide the sku from the emails. but its still on view order online. i think i am missing another file since i adjusted the files above.any idea what i am missing?
best regards
Does your template already use overrides?
The only other file that comes up, if I search with the program "Agent Ransack" for the string "COM_VIRTUEMART_ORDER_PRINT_SKU" within Virtuemart 2 files is;
\administrator\components\com_virtuemart\views\orders\tmpl\order.php (line 149)
Otherwise it can also be cache, it took some time before all my adaptions started working.