John Palacios
02/22/2025, 12:07 AMJohn Palacios
02/22/2025, 12:08 AMvictor
02/27/2025, 8:26 AMFabian V. Thobe
03/01/2025, 4:03 PMSam Sperling
03/03/2025, 8:05 PMFabian V. Thobe
03/03/2025, 11:09 PMSam Sperling
03/04/2025, 6:46 PMFabian V. Thobe
03/11/2025, 5:37 PMAlex 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?