On the demo there is a option to select product on the left. I don't seem to have this option. Have I missed something or is it not available yet.

CommentFileSizeAuthor
#8 42945-2272011112708pm.png106.41 KBCiprian Oancia
#3 posview.jpg54.37 KBslip
#3 posfield.jpg111.94 KBslip
#3 block_view.jpg25.33 KBslip
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

slip’s picture

That's definitely a feature we want. What's on the demo site is just something I threw together.

The demo site is using a view and rewriting the output of the sku field to add a div with a special class attribute. The I coded some Javascript to pull the text of the sku field, throw it into uberpos's input box and then submit it.

I haven't quite figured out how I want this feature to work when it's added to the module. It gets a bit more complicated when a store has more than a few products.

iceclimb’s picture

Just a thought slip... configuring a block that lists the products in the store allows you to put in one or two products at a time, then it would just be a matter of making the name link to the uberpos.... I'm trying that now, although my java script is rusty.

slip’s picture

Status: Active » Fixed
FileSize
25.33 KB
111.94 KB
54.37 KB

Just committed the code sponsored by plug, thanks Marcus! Here's the commit: http://drupal.org/cvs?commit=318032

It's set up on the demo site. I've attached screen shots of the view configuration, the field configuration and the rendered block.

You can output CCK fields, ubercart skus and anything else views will give you as a token. In the view I first get the image and SKU, mark them to not be displayed and then use their tokens as output in the uberpos field.

For commands you can use [model] and other tokens as well as enter other commands and do pretty much anything. For example, if you have donuts and you want a button to sell a dozen you could do 12*[model] in the input field.

Also, you can use exposed filters as shown in the screen shot. The demo uses the taxonomy filter, but you can also use a search filter etc.

Check it out everybody and let me know what you all think.

Status: Fixed » Closed (fixed)

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

xl_cheese’s picture

Status: Closed (fixed) » Active

Can this be made to be compatible with products that have attributes in addition to those that don't?

Products without attributes use the [model] for POS input.

If a product has attributes it needs to use [model_1] for POS input.

Thanks.

slip’s picture

I'm not sure how this would work if you have multiple attributes? I think it would be up to ubercart to expose that information to views in a way that makes sense. It's currently not a views field, correct? I'm tempted to just give up on attributes, lol.

xl_cheese’s picture

I think we just want to expose the attribute drop down boxes on the view block.

Ciprian Oancia’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
FileSize
106.41 KB

Hi everyone

I have a problem with field not being displayed in views, any idea why ?

Im using D7

mcsleazy’s picture

Would it be possible to get a screen shot of the settings used for "Taxonomy: Term exposed" ? If I activate this, it displays nothing, so I think I'm using the wrong settings..... Thanks.

mcsleazy’s picture

I think I have it - the issue seems to be that there are two "Taxonomy - Term" to pick from in the filters, and the one we want is "The taxonomy term ID".

A further question would be - is it possible to have this block work without the apply button? ie. Can the block update without the need for an additional keypress?

Imagine this is being used by someone who is putting through hundreds of items a day. The 'apply' button is doubling the amount of keypresses required....

mubiesam’s picture

There are thousands of commits under this link, can not find it...
http://drupal.org/cvs?commit=318032

Can you give me a hint where can I get it easier...
Thanks,
Sam