Thread: 5.2.3 Invoices
View Single Post
  #1  
Old 04-17-2015, 07:39 AM
 
Triple A Racing Triple A Racing is offline
 

X-Wizard
  
Join Date: Jul 2008
Location: Manchester UK
Posts: 1,028
 

Default 5.2.3 Invoices

We are well on with building our replacement store in 5.2.3 but, are sticking rigorously to only making changes via "webmaster mode" so that ( in theory anyway.....) they are exempt from any future upgrade incompatibility a la most 4.** series releases and the recent experience we had with 5.1.1 to 5.2.2

First item is the sales invoice 'standard' output. We worked out how to get rid of the 1980 style commas () in all the different address sections, but a glitch we have noticed, is that the "Country" field output is in the wrong place in the customer address blocks. It's half way through the address!

It's 100% correct on the customer input form and in the resultant address book entry and also on our provider's section of the invoice etc etc.

Via Webmaster Mode, the specific section of the 'shipping address' theme tweaker tpl looks like this:

<strong class=“title">{t(#Shipping address#)}</strong>

<ul class=“address-section shipping-address-section">
<li FOREACH=“getAddressSectionData(saddress),idx,field " class="{field.css_class} address-field">
<span class=“address-title">{t(field.title)}:</span>
<span class=“address-field">{field.value}</span>
<!-- <span class="address-comma">,</span> -->
</li>
</ul>

How do we work out from here, where the address block field order is and then correct this, whilst still in webmaster mode? It's very easy to find this in the provider's address (head.address.tpl) but we can't see it here

Second item is the spawn of the devil himself; the ever present " _ _ _ " small marks at the end of all invoices, many emails and a few other items from X-cart... (pic)

What is their purpose and why? More importantly, how do we hide them whilst still in webmaster mode? One example of the frustration they cause is that if a customer (or we ourselves) wish to print any 'affected items', these unnecessary additions (we think) result in an extra blank page that has zero value to anybody...

The invoice production is now vastly improved over our 4.1.9 experience, but we just need to "finish" this bit of the job!
Attached Images
 
__________________
Dev Store & Live Store XC Business 5.4.1.35
Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian
Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33
Reply With Quote