I don't seem to be able to get the configure adjustments per role feature of the ecommerce.module. Adjustments are accepted but the prices of products does not seem to change per user role.

Need some help

Comments

Shhh’s picture

yes, I am also facing same problem
Need some help....

conann’s picture

I am no closer to a solution though I really nead it to work because I have a client breathing down my neck. :)
Conánn

Dublin Drupaller’s picture

Hi Conánn...

I'm not sure this is valid or not..but seeing nobody else responded..does the discount per role take effect in the checkout?

i.e. when the user gets to the checkout, the discount kicks in?

Dub

Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate

conann’s picture

No I gave that a try and it does not seem to work either, I really need to have the prices displayed by role so that a retail customer sees different prices to a wholesale customer.

Conánn

Dublin Drupaller’s picture

this is a really long shot..but does it have anything to do with permissions?

i.e. are you looking at it as an ADMIN or do you have to to click a checkbox in ACCESS CONTROL for the discount modules?

Apologies in advance if that is a ridiculous suggestion..but I know how it feels when a deadline is looming..thought I'd mention it as I often trip myself up with the Logged in as Admin thing.

Dub

Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate

conann’s picture

There does not seem to be anything in either users or access control, I have also tried applying adjustments to other user roles including admin with no luck, the adjustments are written to the table ok but there does not seem to be a specific field for user roles

CREATE TABLE ec_payment_adjust (
rid INT( 5 ) UNSIGNED NOT NULL ,
operator ENUM( '+', '-', '*' ) DEFAULT '+' NOT NULL ,
operand DECIMAL( 10, 2 ) UNSIGNED DEFAULT '0.0' NOT NULL ,
PRIMARY KEY ( rid )
) TYPE=MyISAM;

I am not sure (as I know little about databases) if rid should equal the user role id but it doesn't seem too.

The payment.module seems to have all the bibs and bobs but its mostly greek to me

Thanks again for your help
Conánn