Page not found
We have recently redesigned this website, which involved changing both the functionality and architecture of several parts of the site. This necessarily involved changed URLs, primarily in sections like our documentation as guides were merged and reorganized. We apologize for the broken links or search results while Google reindexes our site and hope you find what you're looking for in the search results below.
Answer Answer to Question 9639
form for users to select before adding product into his cart. function date_options_list($field, ...
yogeshchaugule8 — October 2013
Question Duplicating an order
(!isset($order)) { return; } if (empty($account)) { global $user; $account = $user; } // Get the ...
HenryJones — February 2013 — Order
Discussion Import script
Hi! I would like to make a custom import XML script, to load external data from a custom software. This software only send xml data to the webshops. It is ok, but I would like to store an external ID in commerce (what is searchable). I tried that:... $pro ...
makgab — May 2012 — 4 comments
Discussion Product options setup
Hi I have a product display with 2 products, so that a customer can chose which one to select, let s say one can cose between Product Big (20 cents) and Product Small (10 cents). I then used Commerce Product Options and Commerce Product Attributes so the ...
ioioio — January 2012 — 5 comments
Discussion How to show only non referenced products in the "product reference" widget?
When I create(or edit) "Product display" node in "Product reference" field widget I can chose any product entity. I don't want to display products that are already referenced to other "Product display". I want to hide th ...
milkovsky — February 2012 — 3 comments
Discussion Product without price or add-to-cart
be completing transactions on my site. Instead I would like to let a user browse the catalog and read ...
meltingsand — November 2011 — 2 comments
Question Issues installing Commerce Kickstart v7.28 Core
url(" http://www.sherbetboutique.com/modules/user/user.css?mpqinh "); @import url(" ...
Answer Answer to Question 3213
optimal for the majority of online shops. In my case I do want unique individual user accounts created at ...
mjcarter — July 2012
Answer Answer to Question 9042
Vote up! 2 Vote down! Great question Dorian! This is a simple way to enable users to sell content, ...

Question Deleting a Line Item Programmatically
//dprint_r($line_item->commerce_product[LANGUAGE_NONE][0]['product_id']); global $user; // Load the order and empty the cart $order ... = commerce_cart_order_load($user->uid); //commerce_cart_order_empty($order); if($line_item->quantity!= 0){ switch ...