Can you change the automatic tax value for multiple rules?
- nico.van.leeuwen
-
Topic Author
- Offline
Less
More
4 years 1 week ago #344954
by nico.van.leeuwen
-- HikaShop version -- : 4.6.1
-- Joomla version -- : 4.2.2
-- PHP version -- : 8.1
Hi, I want to change all the shipping rules so they use "Proportion" as the Automatic taxes.
Can this be done without doing them all manually like we do with actions in the product listing?
-- Joomla version -- : 4.2.2
-- PHP version -- : 8.1
Hi, I want to change all the shipping rules so they use "Proportion" as the Automatic taxes.
Can this be done without doing them all manually like we do with actions in the product listing?
Please Log in or Create an account to join the conversation.
4 years 6 days ago #344959
by nicolas
Replied by nicolas on topic Can you change the automatic tax value for multiple rules?
Hi,
No, you need to do them one by one via the interface as that setting is serialized in a field of the database.
No, you need to do them one by one via the interface as that setting is serialized in a field of the database.
Please Log in or Create an account to join the conversation.
- nico.van.leeuwen
-
Topic Author
- Offline
4 years 6 days ago #344983
by nico.van.leeuwen
Replied by nico.van.leeuwen on topic Can you change the automatic tax value for multiple rules?
Ok, that's too bad then.
Can the default setting for this field be changed somewhere?
Then I could remove all 500+ shipping lines and re-import them
Can the default setting for this field be changed somewhere?
Then I could remove all 500+ shipping lines and re-import them
Please Log in or Create an account to join the conversation.
4 years 6 days ago #344986
by nicolas
Replied by nicolas on topic Can you change the automatic tax value for multiple rules?
Hi,
Well, if you export a CSV of the hikashop_shipping table via PHPMyAdmin, maybe you can use some search & replace in Excel to change the value in the shipping_params serialized data and then reimport the CSV.
Note that the default value for that setting is already "Proportion". You can see that when you create a new shipping method.
It is set with the line:
in the view file plugins / form.php
Well, if you export a CSV of the hikashop_shipping table via PHPMyAdmin, maybe you can use some search & replace in Excel to change the value in the shipping_params serialized data and then reimport the CSV.
Note that the default value for that setting is already "Proportion". You can see that when you create a new shipping method.
It is set with the line:
Code:
$this->element->shipping_params->shipping_tax = 1;
Please Log in or Create an account to join the conversation.
Time to create page: 0.153 seconds