add shipping rule for drupal commerce

We need a rule that adds shipping to an order based on a custom field in the product type "add artwork for sale" The field is "shipping type". Currently there are only two choices for the field ("rolled in tube" and "shipped flat").

We need a rule (or other method) that checks this field during checkout and adds an amount depending on which option is chosen. Also when we add other options we need the rule to auto magically check for this.

The issue appears to be that the custom field is not available to rules that access the commerce order. Some problems associated with this issue are discussed here: [url removed, login to view]

To attempt a work around, I created a rules component named, "rolled shipping". This component works with the rule "test of component". However this rule does not trigger on the calculate shipping event. Also, the calculate shipping rule named "shipping test" will work without the conditions. However, conditions are needed to check for the shipping type.

So the issue appears to be how to find some way to make the "shipping-type" variable available in a cart order. To test the rule, you can add a painting to the cart and hit checkout.

Compétences : AJAX, HTML, MySQL, OSCommerce, PHP

en voir plus : how to find problems, how to find artwork, oscommerce shipping add dropdown selection, add data feed getafreelancer website, commerce drupal theme, drupal additional javascript add, mysql add data form, php mysql add data form, add data database php form, add data xml file flash, script add data mysql, add data entry joomla

Concernant l'employeur :
( 8 commentaires ) Marietta, United States

Nº du projet : #8517260

Décerné à:


Hired by the Employer

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 3 jours
(214 Commentaires)