0

We are trying to set customers shipping prices individually. We try to use Owebia Advanced Shipping open source module. I know that there is a variable {customer.id}, but the documentation does not mention where and how I can use it. I am also interested in filtering customer according certain attribute e. g. {client.attribute.[some atribute name]}.

1
  • I am trying to create this sort of rule: { "meta_colissimo": { "type": "meta", "about": "Delivery prices from 2017-10-24", "author": "Vincas Dundzys" }, "Courier 2": { "label": "Test delivery", "description": "Courier delivery", "conditions": "{customer.id} == '1'", "fees": 20 } } Commented Oct 27, 2017 at 13:11

1 Answer 1

1

I have just received an email from module creator Antoine Lemoine. It appears that everything is much simpler, than I thought. You need to put client filtering into a condition and that will be enough to rule to work.

Here is example from Antoine:

{
   "id_014": {
      "label": "Customer id",
      "conditions": "{customer.id} == 14",
      "fees": 10
   }
}

And one more:

{
   "id_015": {
      "label": "Customer attribute",
      "conditions": "{customer.shipping_attribute} == 'free'",
      "fees": 0
   }
}

Thank you Antonie!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.