drupal-commerce

boho999's picture

Att koppla en customer profile till en order

Hej

Jag behöver skapa en ny order mha rules. Ordern behöver naturligtvis en customer profil på sig för att anget faktura adress. Allting skpas korrekt men profilen kopplas inte till ordern. Det är säkert något riktigt enkelt som jag förbisett men trots idogt letande på webben har jag inte funnit ngn lösning. Hur kopplas profilen med ordern?

Här är en export av en rule som jag testat med:

{ "rules_create_order_and_profile" : {
"LABEL" : "Create order and profile",
"PLUGIN" : "rule",
"OWNER" : "rules",
"REQUIRES" : [ "rules", "commerce_cart", "commerce_checkout" ],
"IF" : [

Read more
Drupak's picture

Discounts in Drupal Commerce based on fields present in the Product Display nodes through Product Pricing Rules

I am not sure if this question should be asked in rules group but it is Rules related .I am developing a Groupon like Deals website on Drupal Commerce where one product can have several displays(deals) and therefore different discounts at different times. Display nodes have no direct linkages with line items therefore fields present in Product Display wont show there...With help from IRC and drupal.stackexchange i have so far reached to the point suggested in this question http://drupal.stackexchange.com/questions/24721/discount-based-on-a-fiel...

Read more
Subscribe with RSS Syndicate content