1. atrus
  2. RO CSVI
  3. Saturday, 13 June 2015
  4.  Subscribe via email
Hi Roland,

Noted that the shipping rate cost is not properly imported for VM3.

See attached

-

The shipment_params in _virtuemart_shipmentmethods looks like:

shipment_logos=["tnt-economy-logo.jpg"]|weight_start="12,001"|weight_stop="13,000"|weight_unit="KG"|cost="75,00"|tax_id="3"|

while when saving manually, the shipment_params in _virtuemart_shipmentmethods looks like:

shipment_logos=[
"tnt-express-logo.jpg"
]|show_on_pdetails="1"|countries=""|zip_start=""|zip_stop=""|weight_start="0.000"|weight_stop="1.000"|weight_unit="KG"|nbproducts_start=0|nbproducts_stop=0|orderamount_start=""|orderamount_stop=""|shipment_cost="75,00"|package_fee=""|tax_id="3"|free_shipment=""|

It seems that the "cost=" should be "shipment_cost="

And maybe it is advisable CSVI to fill the missing params also :)

Would appreciate your feedback.

Rgrds,
Chris
Accepted Answer Pending Moderation
Hello Chris,

You have dug up yet another field that has it's name changed. So I have fixed the name of this field and as per your suggestion, all fields should now be stored for the shipment_params.

Load the patch file and run the update available fields after that to get the new fieldnames. Run your import after that.
Attachments (1)
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Thanks Roland,

The shipment_cost is now stored properly :)

For the updating of shipment_params, it is not working when updating an existing shipment methods. Have not tested it with new shipment methods though.

Rgrds,
Chris
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Chris,

Good to hear the cost is now stored properly.

For the updating of shipment_params, it is not working when updating an existing shipment methods. Have not tested it with new shipment methods though.
What do you mean by that?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hi Roland,

It means that when updating an existing shipment method is it not filling all the param values. I need to check the behaviour when importing new (not existing) shipping rates.

Rgrds,
Chris
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hey Chris,

it should set all the param values regardless of it being new or existing. You don't see this happening?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Hi Roland,

Sorry for my late reply on this, no the param values are not set when you update an existing method.

Rgrds,
Chris
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
Hello Chris,

Can you post a debug log of your import? I can't reproduce it. Every update run it updates the shipment_params field.The patch has also been installed?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!