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 7936

http://websmiths.co/blog/very-introduction-drupals-hookformalter That's a nice tutorial on how to get something up and running. To pull a user's info, ... you would just need to do the following: <?php function something () {  global $user;   dpm ... ($user); // requires devel module to see into array.}?> ...
joshmiller Josh Miller — May 2013

Answer Answer to Question 43338

for a specific node based on either the user's role, author, the specific product purchased, ...
tjohnston Travis — December 2015

Answer Answer to Question 5120

Vote up! 1 Vote down! This would be possible in Commerce. The trick would be adding a user entity ... checks that field's value. If the value doesn't match the user trying to view it, redirect ... them. Maybe add an "OR" that returns true if the user viewing the product display has a role ...
joshmiller Josh Miller — May 2013

Question Updating order status

I tried doing so as USER#1 at admin/commerce/orders/6/edit but I get the following error: The username ... Test Dude does not exist. The funny thing is there is a user called Test Dude on the system. I am ...
sisko — July 2013 — commerce paypal wps

Answer Answer to Question 7310

user registration form. This form will contain the fields you need in order to have the user choose ... a predefined product line. After a user submits the form and after you have reviewed it you will accept the ... user. 2. Using rules, you will configure the user acceptance event to trigger an action that promotes ...
drupalability — August 2013

Question How Do I Modify The Order Receipt Page To Add Order Date?

modify it to display the order date field? Eg... http://example.com/user/1/orders/6 TIA. order receipt ...
suntower — October 2014 — order receipt page

Question Dynamically prevent products in cart from being purchased

problem of a customer ordering a product for the past, but does deal with our common case of a user ...
claw — December 2015 — Checkout, Product, product expiry

Answer Answer to Question 12912

Vote up! 1 Vote down! Hey Emil, sorry it took so long to respond. In my opinion, this is a perfect place to use line item fields. If you add an image field to your product line item type, there's an option to expose the field widget on Add to Cart fo ...
Ryan Ryan Szrama — February 2014 — 4 comments

Discussion Disable shipping information pane for "customer collects" option

confusing for the user. So, on the Checkout page, I want to offer the user a choice between collection (from ... either of two locations) or delivery, using radio buttons for example. If the user chooses one of the ...
Jeff — February 2012 — 4 comments

Question prevent a customer buys the same product twice

downloadable content, and the user will be able to buy only once the content. Thanks twice repeat ...
Alysson — May 2013 — twice, repeat

Pages