Hello,
I would like to remove the shipping address block from online invoice, email invoice and PDF invoice. In my shop the the customer information and shipping information is combined in one block, an while the shipping address is already displayed in customer block, it is confusing to see it displayed again in shipping block, this creates confusion, it is displayed twice, so basically this is informational garbage. Please see attached screenshots.
Thank you a lot!
Joomla 3.6xx
VirtueMart 3xx
VirtueMart 3xx is not very clear.
In the latest version, if no additional address is selected, there is no duplication.
See if you have overwritten files. Pay attention to the original files.
Thanks for reply.
My VM version is 3.0.16, i would still prefer to execute the removal of that block. Any ideas where should i look for it? Thanks!
Sorry for bumping the thread.
Still looking for a way to remove shipping address block.
Create and override to this view
components\com_virtuemart\views\invoice\tmpl\invoice_order.php
Find where this lable is in the file (should be at the bottom)
<?php echo vmText::_('COM_VIRTUEMART_ORDER_PRINT_SHIP_TO_LBL') ?></strong><br/>
Then decide what test you are going to implement to handle when the details are the same as Bill To
Latest versions of VM handle this already (3.4.x onwards)
Unfortunately removing that peace of code did not help. The portion of text is still present in all 3 up-mentioned areas.
Then you are using overrides.
Templates/your-template/...
Jörgen @ Kreativ Fotografi
I did not give you the exact solution - just the name of the file you needed to override and the area you should be looking at for the display of the ST details
That is just the heading label for the shipping
<?php echo vmText::_('COM_VIRTUEMART_ORDER_PRINT_SHIP_TO_LBL') ?></strong><br/>
I cannot give you the solution for your outdated version - because this is already managed in VM3.4.x
Just find in this file where it looks to loop through the ST address fields and comment that section out
something like
$this->orderDetails['details'] with ST somewhere
In my case there is BT everywhere, no ST, so i assume a should look for BT variable?
Thank you!
Thank you for help, i have managed to find that content and remove it from all needed places.
Solved.
Thanks for the update