Ok, when trying to use views to select product for ucnc should the view return the product skus or the node id?

Comments

rszrama’s picture

Status: Active » Fixed

It's very simple:

  1. Create a node view.
  2. Make sure the row style is "Fields" and add the node title to the Fields section for the View.
  3. Add filters to the defaults to get to the product nodes you want available for the node type you're making the view for.
  4. Additionally, sort them if you want.
  5. Go to the node types settings for UC Node Checkout and select the defaults display for the View you just made.
socialnicheguru’s picture

does it have to be the default display? Can i use a block display for each product?

rszrama’s picture

You can use whatever display you want. I just use the default display since my product selector isn't usually something I'm showing. Just remember the View needs to return all the nodes you want to show up in the select list, and it must include the title field.

socialnicheguru’s picture

ok thanks. i was just returning the nid.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.