Upgrading EC Role Price to work with ecommerce 4

Roger Saner - November 29, 2008 - 09:34
Project:EC Role Price
Version:5.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

Currently EC Role Price only works with ecommerce 3, which doesn't help me because I'm using ecommerce 4. I'm quite happy to create a new version which will work with 4 - but I'm going to need some hand-holding and pointing in the right direction.

First up is to work with the function role_price_form_alter. This gets called when adding a product, but doesn't modify the form correctly, so there are no fields with which to input anything to save to the database. Is this a good place to start?

#1

robertgarrigos - February 8, 2009 - 12:17

The problem with this is that ecommerce 4 needs some more work before upgrading role_price. I've been looking at it and it looks like there are some inconsistencies within ecommerce 4 about price discounts. They are shown during the process of adding a product into a shopping cart, but later on, during checkout they are not and full price is being charged. I'll post an issue in the ecommerce queue for that. In any case, I will create a 5.x-3.x branch of role_price which will be, eventually, compatible with ecommerce 4.

#2

robertgarrigos - February 8, 2009 - 12:45

this is the issue in ecommerce 4: http://drupal.org/node/214702#comment-1245148

#3

Roger Saner - May 29, 2009 - 12:19

@robertgarrigos: the ec 4 code now has a release candidate - does this give you have enough info to upgrade EC Role Price to work with e-Commerce 4?

 
 

Drupal is a registered trademark of Dries Buytaert.