Alex P
03/20/2025, 7:52 PMAlex P
03/20/2025, 8:01 PMSpree::ShippingCalculator
, which makes the API request. But the API will return multiple shipment methods. So should I have a custom BasicShippingCalculator
and ExpressShippingCalculator
that returns the “best” option for each class of shipping? Or is there a better way?sairamsupermarketdev
03/24/2025, 12:49 PMsairamsupermarketdev
03/24/2025, 12:51 PMsairamsupermarketdev
03/24/2025, 12:51 PMsairamsupermarketdev
03/24/2025, 1:53 PMsairamsupermarketdev
03/25/2025, 4:20 AMLee Irving
03/25/2025, 9:56 AMDoug DeBold
03/31/2025, 2:56 PMBrain Art
04/01/2025, 10:38 AMLee Irving
04/02/2025, 7:18 AMThe single-table inheritance mechanism failed to locate the subclass: 'Spree::Promotion::Actions::CreateLineItems'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Spree::PromotionAction.inheritance_column to use another column for that information. If you wish to disable single-table inheritance for Spree::PromotionAction set Spree::PromotionAction.inheritance_column to nil
This system was originally Spree so I am guessing it could be a difference between Spree & Solidus. I'm not seeing anything in the issues list for it, a similar one I found was here: https://github.com/solidusio/solidus/issues/3119
Any ideas?
Im wondering if the type field is redundant now or whether I need to disable the STIsairamsupermarketdev
04/02/2025, 10:47 AMsairamsupermarketdev
04/02/2025, 10:49 AMeither width or height must be specified
Extracted source (around line #15):
13
14
15
16
17
18
def call
if image
image_tag image.url(size), default_options.merge(options)
else
content_tag :div, nil, class: ['image-placeholder', size].join(' ')
end
how to fix itFabian V. Thobe
04/04/2025, 2:16 PMGerald Müller
04/04/2025, 2:29 PMGerald Müller
04/04/2025, 2:30 PMGerald Müller
04/04/2025, 2:33 PM1Maskhal
04/04/2025, 7:43 PMFabian V. Thobe
04/09/2025, 6:07 PMAlex P
04/10/2025, 5:54 PMauthorize
step maps to Stripe’s “create a Checkout Session”, and the Stripe success webhook maps to “capture”.
• Alternatively, I could avoid this customisation. Instead: my CheckoutController
would check whether my Spree::Order
is in the payment
state, and redirect to the Stripe Checkout if so. Separately, my webhook handler marks the order as complete
on success. But I guess then I’d miss out on “transaction history” – how many times a user attempted to pay, and when.
I’d love any advice from people more familiar with Solidus’ payment code about which approach seems better.Alex P
05/01/2025, 7:23 PMhas_option
(qv) supposed to be chainable? eg:
Spree::Product.find_by(slug: "metal-framed-poster").variants
.has_option("frame_colour", "copper")
.has_option("paper_type", "matte")
I’m finding this generates an inner join that will never work; it requires spree_option_types.name = 'frame_colour' AND spree_option_types.name = 'paper_type'
.Muhammad Haziq
05/05/2025, 10:10 AMgem 'solidus', github: 'solidusio/solidus'
and i want to replace my views completely on frontend side and some tweaks on admin side. What is the best option to update these views?Doug DeBold
05/14/2025, 2:50 PMSlackbot
05/23/2025, 7:57 AMAlex P
05/26/2025, 7:51 PMActionMailer::Preview
will load your previews if the class’ descendants are empty, but Solidus’ previews are still present: [Spree::MailerPreviews::ReimbursementPreview, Spree::MailerPreviews::OrderPreview, Spree::MailerPreviews::CartonPreview]
.
I’ve worked around this by monkeypatching ActionMailer::Preview.all to always call load_preview
, but it was tricky to track down the root cause! It’d be nice if this wasn’t necessary.Mateusz Porębski
05/27/2025, 3:34 PMBy using this extension, you are giving back to Solidus. PayPal will pay a fee to the maintainers (Nebulab) for each order made through the payment gateway.
Is this referral fee covered fully by PayPal or is it deducted from merchants revenue?Kim Tiel
05/27/2025, 6:00 PMAlex P
05/28/2025, 7:18 PM#money
is automatically available to me? (At least, when I call #money
on my Spree::ProductVariant#price
I get “undefined method ‘money’ for instance of BigDecimal.“)Kim Tiel
05/30/2025, 6:34 PMOrder R557038528 halted transition on event next state address: We are unable to calculate shipping rates for the selected items.
Failed to transition to next state. Errors: We are unable to calculate shipping rates for the selected items.
Doug DeBold
06/25/2025, 6:45 PM