Given Reed
01/11/2023, 10:07 PM# If shipping country isn't in the US, we skip it
next unless order.ship_address.country.iso.eql?('US')
before it creates the shipment adjustment.
I'm sure there's something simple I'm missing, I think I've been staring at this for too long to see what it is.Naoki Mi
01/12/2023, 4:13 AMGiven Reed
01/12/2023, 12:32 PMGiven Reed
01/12/2023, 2:09 PMNaoki Mi
01/12/2023, 2:54 PMGiven Reed
01/12/2023, 2:57 PMmodule Spree
class Promotion < Spree::Base
module Actions
class FreeShipping < Spree::PromotionAction
mine:
module Embold
module Promotion
module Actions
class FreeShippingUsOnly < ::Spree::PromotionAction
Stock Promotion is a class that extends Spree::Base and mine is a module, but that's how it shows you to do it in the guide (https://guides.solidus.io/advanced-solidus/promotions-system/#implementing-a-new-action)Given Reed
01/12/2023, 2:58 PMPromotion isn't a classChris Todorov
01/12/2023, 7:28 PMChris Todorov
01/12/2023, 7:30 PMbinding.pry somewhere in your checkout and see if the promotion is still associated with the order and try to manually re-apply it / recreate the adjustments on the shipment.Given Reed
01/12/2023, 7:32 PMpry it and see if I can see anything that stands out.Chris Todorov
01/12/2023, 10:13 PMGiven Reed
01/13/2023, 3:19 PM