Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
is it possible to create an override price field (type price) in a product display and use that override in the price calculation process (rules)?
I'm stuck as I have no clue about how to get to the product display by pricing rules.
story:
I'm working on a multi-shop solution (using domain_access and domain_entity) and want to be able to have one product (one sku) but differing prices for the shops. I'm able to restrict product displays to specific domains - publishing it one on the desired domain.
hints are appreciated ;-)
tia,
attisan
Comments
Comment #1
rszrama CreditAttribution: rszrama commentedIt's probably likely, given you should have the information from the page request variables to determine the node being viewed and extract the custom price from it. However, there may be other ways that product gets into an order, and you'll need some way to preserve the price for when it gets recalculated on the cart / checkout forms.
For more support or for future requests, please use https://drupal.stackexchange.com per the issue submission guidelines.