Explorar o código

fixed home pricing links label

bach %!s(int64=3) %!d(string=hai) anos
pai
achega
35d5259de3
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      web/themes/custom/materiotheme/materiotheme.theme

+ 4 - 4
web/themes/custom/materiotheme/materiotheme.theme

@@ -237,16 +237,16 @@ function materiotheme_form_alter(&$form, FormStateInterface $form_state, $form_i
 
   // change "add to cart" button text
   switch ($form_id) {
-    case 'commerce_order_item_variation_cart_form_form_commerce_product_variation_1':
+    case 'commerce_order_item_variation_cart_form_form_commerce_product_variation_6':
       $form['actions']['submit']['#value'] = t('Yeees!');
       break;
-    case 'commerce_order_item_variation_cart_form_form_commerce_product_variation_2':
+    case 'commerce_order_item_variation_cart_form_form_commerce_product_variation_7':
       $form['actions']['submit']['#value'] = t('Yay!');
       break;
-    case 'commerce_order_item_variation_cart_form_form_commerce_product_variation_3':
+    case 'commerce_order_item_variation_cart_form_form_commerce_product_variation_8':
       $form['actions']['submit']['#value'] = t('Great!');
       break;
-    case 'commerce_order_item_variation_cart_form_form_commerce_product_variation_4':
+    case 'commerce_order_item_variation_cart_form_form_commerce_product_variation_9':
       $form['actions']['submit']['#value'] = t('OKAY!');
       break;
   }