We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a563b8 commit aa0b7e7Copy full SHA for aa0b7e7
admin/controller/product/product.php
@@ -108,9 +108,10 @@ function saveOptions() {
108
109
function save() {
110
$post = &$this->request->post;
111
- $post['shipping'] = isset($post['shipping']) ? 1 : 0;
112
- $post['manufacturer_id'] = isset($post['manufacturer_id']) ? ($post['manufacturer_id'] ?: 0) : null;
113
- $post['vendor_id'] = isset($post['vendor_id']) ? ($post['vendor_id'] ?: 0) : null;
+
+ $post['requires_shipping'] = isset($post['requires_shipping']) ? 1 : 0;
+ $post['manufacturer_id'] = isset($post['manufacturer_id']) ? ($post['manufacturer_id'] ?: 0) : null;
114
+ $post['vendor_id'] = isset($post['vendor_id']) ? ($post['vendor_id'] ?: 0) : null;
115
116
parent::save();
117
0 commit comments