Total Posts: 35
I’m currently working on an add-on.
In this add-on, I have to add product.. This is ok, it works.
But I also have to add Fixed Product Tax, and for that, I fail ...
I have created my FPT (as an attribute), named “deee”.
Manually, it’s ok.
But when I try something like that :
This doesn’t work, my FPT is not added.
"website_id" => 0,
"country" => 'FR',
"state" => '*',
"value" => $myproductModel->getData('myproducts_ecotaxe'),
"website_value" => $myproductModel->getData('myproducts_ecotaxe')
However, FPT structure is almost the same as tier price attribute, and when i try :
'website_id' => 0,
'cust_group' => 32000,
'price_qty' => 3,
'price' => 3,
'delete' => ''
But i’m pretty sure the case of FPT is different, but i don’t know in which way…
Do you (understand the problem and) have an idea about a solution ?