Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 6309

One of the modules that implements an eCommerce framework and ecosystem is the Drupal Commerce module.

1
vote
You can add field "payment method" or "payment status" to your Order entity. Than you can set value of this field when you are saving order in you payment method. Of course this field will be availab …
answered May 24 '12 by milkovsky
0
votes
$form_state. Than you can load related product and add it to cart by drupal commerce API. Example of adding product to cart is here …
answered Sep 6 '12 by milkovsky
4
votes
You are right. Shipping rates are applied only after you submit the form (Click "Next"). On submit all your shipping rules(or flat rates) applied and order is saved with new line items (Shipping is …
answered Jan 23 '15 by milkovsky
3
votes
There is a contrib module developed espacially for shipping - Commerce Flat Rate This module allows you to define any number of flat rate shipping services via the user interface in conjunction … with Commerce Shipping 2.x. When you define a new flat rate service, you specify the base rate for it in the add / edit form. You can further modify the base rate (enabling things like weight or …
answered Apr 30 '15 by milkovsky
0
votes
You can build your restaurant menu based on views, where you list commerce_products instead of product types(nodes). This will render one row for each variation. You can also add relationship to your …
answered Feb 3 '15 by milkovsky
1
vote
I don't know ready solution from the box for your use case but it's possible to implement it with Drupal Commerce and Line items functionality. You can extend Line Item with the user reference field …
answered Apr 25 '14 by milkovsky
0
votes
You can't see products because the permission to see products is disabled by default. Just enable it at /admin/people/permissions. E.g. enable View any product of any type if you want to permit users …
answered Jun 24 '13 by milkovsky
3
votes
Go to the Manage Display tab of your product entity and enable the same "View Mode" you use at "Product Display". Do it in the "Custom display settings" fieldset. Then set up image style for the Ima …
answered Sep 3 '13 by milkovsky
1
vote
You can handle price using commerce Rules integration. I can suggest you store your product attributes(size, color, lenght and etc) in taxonomy vocabularies. Add custom field to your size, color …
answered Apr 25 '13 by milkovsky
4
votes
All you need is Rules :) You can start with next steps: Visit Product pricing rules page: /admin/commerce/config/product-pricing Click + Add a pricing rule Enter Name. E.g. "Custom discount … have to add 2 conditions before: Entity has field: Entity commerce-line-item, Field: commerce_product Entity has field: Entity commerce-line-item:commerce-product, Field: field_price_with_flight …
answered Mar 1 '16 by milkovsky
7
votes
You can use hook_commerce_checkout_router() to skip Commerce Checkout pages. See the advanced example here: Skipping a Commerce Checkout page in the checkout workflow /** * Implements …
answered Sep 12 '13 by milkovsky
1
vote
If I understood you right. I had some similar task in the past. I had form of all product variations in the table with textbox inputs for quantity. And they must be added multiple to cart. The main f …
answered Jan 18 '14 by milkovsky
1
vote
Here is one working solution. We can disable address field. To submit data of the addressfield we can add address value into $form_state['input'] manualy in validation callback. In hook_form_alter d …
answered Oct 3 '13 by milkovsky
0
votes
You can add a custom rules condition for line item which will check next: if the amount of items in cart is more than 4 if the current line item position is greater that 4 (load cart, sort cart lin …
answered Mar 17 '15 by milkovsky
0
votes
1answer
I want to prepopulate commerce billing address in checkout process and make all fields in the address field readonly. I've tried the next code: $form['customer_profile_billing']['#disabled'] = TRUE … ( [#type] => container [#attributes] => Array ( [class] => Array ( [0] => field-type-addressfield [1] => field-name-commerce
asked Oct 3 '13 by milkovsky