I started a new thread from the previous to avoid confusion. Pls let me know if you prefer to the combined thread
https://www.csvimproved.com/forum?view=topic&catid=44&id=33119
for different issues ....
I believe I have found why in my report I am seeing the shipment_desc and not the shipment_name - actually it is both shipment_name concatenated with shipment_desc
Please correct me where my assumptions are in correct
Background:
- shipment_name field selected in the template fields
- Component = virtuemart & operation = order
- shipment_name + shipment_desc is output
When looking at the log file
- template field shipment_name is selected (in fact shipment_desc is not an option in the Quick Add Fields)
- In the SQL Select statement shipment_name is not included but instead "virtuemart_shipmentmethods`.`shipment_element`"
- shipment_element, in my particular case is weight_countries
- in shipment_plg_weight_countries`, each order is stored with the field "shipment_name"
- this shipment_name field contains the concatenated values of fields shipment_name + shipment_desc from shipping_methods_en_GB however the field text here is HTML and not plain text (because of this I have doubts over my logic above)
Assuming the above is correct and that is the intended output (ie will not be changed), what would I need to do to just get shipping_name from the shippingmethods_en_GB table. I recognise that there is safety by taking the data from "shipment_plg_weight_countries" ie in case the shipping methods change or get deleted. However, in my case I just need the shipping name.
- xpozay
- RO CSVI
- Thursday, 21 April 2016
- Subscribe via email
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!