En cours

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

Voir plus : find artwork, commerce drupal theme, drupal additional javascript add, mysql add data form, script add data mysql, add data entry joomla

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

N° du projet : #8517260

Décerné à :

Zeldaze

Hired by the Employer

50 $ USD en 3 jours
(214 Commentaires)
6.8