https://solidus.io logo
Join Slack
Powered by
# support
  • a

    Anthony Francis

    02/15/2025, 10:55 AM
    Hi everyone, I'm new here and just getting started with Solidus. I’ve set up a brand new Rails 7.2.2.1 app with Ruby 3.3.0 and installed Solidus (4.4), but I'm having trouble getting Tailwind CSS to load properly. Here’s what I’ve done so far:
    Copy code
    bundle add solidus
    bin/rails g solidus:install
    1. Verified that
    application.tailwind.css
    is present and included in
    application.html.erb
    . 2. Restarted the Rails server and recompiled assets using
    rails assets:precompile
    . 3. Checked the browser console, but there are no Tailwind classes being applied. I’ve attached an image below to show what’s happening. Has anyone run into this before? Could it be something with how Solidus handles assets? I’d really appreciate any help or pointers.
    ✅ 1
    t
    • 2
    • 5
  • a

    Anthony Francis

    02/15/2025, 12:29 PM
    Hey everyone, I'm running into an issue after setting
    config.currency = "GBP"
    in my Solidus app and updating the Default Currency to GBP in the admin settings. Now, when I try to add a GBP product or variant to the cart, I get the error:
    "Price is not valid"
    Has anyone run into this before? I’d really appreciate any help or pointers.
    • 1
    • 1
  • a

    Anthony Francis

    02/16/2025, 2:01 PM
    Hi everyone, I'm experiencing an issue with product images on my Solidus storefront. The images are hosted on AWS S3, and while they appear correctly on the route (home) page, they do not display on category or show pages. Has anyone encountered this before? Any guidance would be greatly appreciated. Many thanks!
    k
    f
    • 3
    • 5
  • d

    Daniel

    02/17/2025, 2:00 PM
    What's the best practice for implementing a redirect based payment method? I feel like when a redirect payment method is selected, the user should get redirected to the redirect url of the payment method after hitting confirm in the checkout flow, not sure which subclass I have to override/tweak for that. Can anybody give me a hint?
    t
    • 2
    • 2
  • e

    Eugene C

    02/17/2025, 7:23 PM
    rubocop reports 9 offences on
    Rails/Delegate
    cop; running rubocop locally shows no offences. anyone knows what could be the reason? 🤔
    m
    • 2
    • 3
  • j

    John Palacios

    02/22/2025, 12:06 AM
    Why sometimes on the admin panel, the sidebar hides some options?
    f
    • 2
    • 1
  • j

    John Palacios

    02/22/2025, 12:07 AM
    For example, now I'm in the http://127.0.0.1:3000/en/admin/stores
  • j

    John Palacios

    02/22/2025, 12:08 AM
    Also I get this error when trying to access to a product using the Show Legacy UI as disabled
  • v

    victor

    02/27/2025, 8:26 AM
    Hello everyone. Are there any tips on migrating from Paperclip to ActiveStorage?
    d
    m
    • 3
    • 5
  • f

    Fabian V. Thobe

    03/01/2025, 4:03 PM
    Hey, should display_price return the price with taxes if taxes are not included in the product price? In my mind if default_cart_country is enabled the output should include taxes even if taxes are not included in product price. @tvdeyen I think yesterday we either intepreted display_price wrong or there’s a bug. While prices are calculated correctly in cart display price returns only the excluding vat price. I think it would make sense to either modify display_price to contain taxes if default_cart_tax_location is set. Otherwise it barely make any difference as when browsing the shop only the untaxed price is shown. Maybe a tax_display_price should be created to support both cases we should pregenerate them as currently done with display_prices. It seems to be a very european problem though. @kennyadsl @Jared Norman Is default_cart_tax_location used in the US? Also the VAT price calculator is practically obsolete at that point significantly reducing the tax calculation footprint.
    ✅ 1
    c
    • 2
    • 2
  • s

    Sam Sperling

    03/03/2025, 8:05 PM
    Is anyone using single page checkout with Solidus or Stripe's hosted single page checkout? https://docs.stripe.com/checkout/quickstart
    i
    • 2
    • 5
  • f

    Fabian V. Thobe

    03/03/2025, 11:09 PM
    Hey @Sam Sperling, we are working on it and gonna propose around may a fully new checkout experience to be integrated into Solidus. I don’t know if that’s in time for you though
  • s

    Sam Sperling

    03/04/2025, 6:46 PM
    @Fabian V. Thobe Thank you! Happy to try any beta code. It's essential for conversion. Have you considered implementing the stripe hosted variant? that would solve a lot of problems and seems checkout being owned by the bigger payment providers these days.
    f
    • 2
    • 1
  • f

    Fabian V. Thobe

    03/11/2025, 5:37 PM
    We are preparing to contribute a new easypost extension that is bugfixed and working. We are struggling with the fall back to the classical shipping calculator. At the moment it seems like that all prices are aggressively overwritten by easypost, which is happening here: https://github.com/S3-Store/s3_easypost_advanced/blob/master/lib/solidus_easypost/shipping_rate_calculator.rb The plan was to add a column “default_shipping_calculator” allowing true or false to the shipping method and invoke either the easypost rate or the solidus calculator. What would be the easiest way to fall back to the classical shipping method calculator
    c
    v
    • 3
    • 18
  • a

    Alex P

    03/20/2025, 7:52 PM
    I’m new to Solidus, but not to Rails/ecommerce. I’m using Solidus core to power the ecommerce aspect of a print-on-demand poster service. To begin with, I only want to offer my store in 3 countries. What’s the most idiomatic way to accomplish this? Create 3 country-specific `Spree::Zone`s, hard-code my checkout to only offer three countries in the shipment address, and only configure shipping info for those three zones? Or is there a better way?
    b
    f
    • 3
    • 4
  • a

    Alex P

    03/20/2025, 8:01 PM
    I’m also curious about how best to handle shipping. Each variant SKU has its own shipping price, which differs per country. I can retrieve the shipping price from the print-on-demand supplier via API at the time of order placement, but I know there’ll be normal/express shipping options. What’s the most idiomatic way to set this up? I think I will need to implement my own
    Spree::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?
    b
    f
    • 3
    • 13
  • s

    sairamsupermarketdev

    03/24/2025, 12:49 PM
    rails g solidus_razorpay:install /home/dhana/.local/share/mise/installs/ruby/3.4.2/lib/ruby/gems/3.4.0/gems/solidus_razorpay-1.1.0/lib/solidus_razorpay/engine.rb21in 'block in <class:Engine>': uninitialized constant SolidusRazorpay::RazorpayGateway (NameError) app.config.spree.payment_methods << SolidusRazorpay::RazorpayGateway ^^^^^^^^^^^^^^^^^ from /home/dhana/.local/share/mise/installs/ruby/3.4.2/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/initializable.rb32in 'BasicObject#instance_exec' from /home/dhana/.local/share/mise/installs/ruby/3.4.2/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/initializable.rb32in 'Rails:Initializable:Initializer#run' from /home/dhana/.local/share/mise/installs/ruby/3.4.2/lib/ruby/gems/3.4.0/gems/railties-8.0.2/lib/rails/initializable.rb61in 'block in Rails::Initializable#run_initializers' from /home/dhana/.local/share/mise/installs/ruby/3.4.2/lib/ruby/3.4.0/tsort.rb231in 'block in TSort.tsort_each' from /home/dhana/.local/share/mise/installs/ruby/3.4.2/lib/ruby/3.4.0/tsort.rb353in 'block (2 levels) in TSort.each_strongly_connected_component' from /home/dhana/.local/share/mise/installs/ruby/3.4.2/lib/ruby/3.4.0/tsort.rb434in 'TSort.each_strongly_connected_component_from' from /home/dhana/.local/share/mise/installs/ruby/3.4.2/lib/ruby/3.4.0/tsort.rb352in 'block in TSort.each_strongly_connected_component' from /home/dhana/.local/share/mise/installs/ruby/3.4.2/lib/ruby/3.4.0/tsort.rb350in 'Rails:Initializable:Collection#each'
  • s

    sairamsupermarketdev

    03/24/2025, 12:51 PM
    I am not able to fix the following error
  • s

    sairamsupermarketdev

    03/24/2025, 12:51 PM
    rails g solidus_razorpay:install /home/dhana/.local/share/mise/installs/ruby/3.4.2/lib/ruby/gems/3.4.0/gems/solidus_razorpay-1.1.0/lib/solidus_razorpay/engine.rb21in 'block in <class:Engine>': uninitialized constant SolidusRazorpay::RazorpayGateway (NameError) app.config.spree.payment_methods << SolidusRazorpay::RazorpayGateway ^^^^^^^^^^^^^^^^^
    f
    • 2
    • 4
  • s

    sairamsupermarketdev

    03/24/2025, 1:53 PM
    recomend me compatible payment gateway is solidus_razorpay will work for me ? solidus (4.5.1) Author: Solidus Team Homepage: http://solidus.io License: BSD-3-Clause Installed at: /home/dhana/.local/share/mise/installs/ruby/3.4.2/lib/ruby/gems/3.4.0 Full-stack e-commerce framework for Ruby on Rails.
  • s

    sairamsupermarketdev

    03/25/2025, 4:20 AM
    guide me to install solidus_razorpay in to my app using solidus (4.5.1) Author: Solidus Team Homepage: http://solidus.io License: BSD-3-Clause Installed at: /home/dhana/.local/share/mise/installs/ruby/3.4.2/lib/ruby/gems/3.4.0
    j
    • 2
    • 3
  • l

    Lee Irving

    03/25/2025, 9:56 AM
    Morning all, whats the best way to add management reports to Solidus. Ive had a look at the solidusio-contrib/solidus_reports.git but that seems to be incompatible with the current version
    j
    j
    • 3
    • 3
  • d

    Doug DeBold

    03/31/2025, 2:56 PM
    I'm wondering if anyone has guidance on configuring a pretty complex store. Our client currently has 200+ products/variants. The variants generally don't follow any discernible rules. For example, they have these 4 products/variants that should be all under a single master product: • AviClear Acne (Package of 3 Sessions + Kit Post Care) - $10 • AviClear Acne Plus & Scarring Protocol - $11 • AviClear Acne Plus Protocol - $9 • AviClear Subsequent Session - $7 All 4 of these should show up under the AviClear product as different options/variants. (Note prices are made up but the important point is that the prices are all different too) Other products might have 10-15 variants like this where like this, I don't see any way to use option types to get to the list of variants that we have Any ideas?
    j
    f
    • 3
    • 9
  • b

    Brain Art

    04/01/2025, 10:38 AM
    Hi, @Doug DeBold Which e-commerce platform are they using?
    😕 1
    j
    d
    t
    • 4
    • 3
  • l

    Lee Irving

    04/02/2025, 7:18 AM
    Morning all, got a bit of a weird one. When I go to page 2 of promotions im getting an error:
    The 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 STI
    m
    • 2
    • 5
  • s

    sairamsupermarketdev

    04/02/2025, 10:47 AM
    solidus 4.5.1
    l
    • 2
    • 2
  • s

    sairamsupermarketdev

    04/02/2025, 10:49 AM
    solidus 4.5.1 error message ImageProcessing::Error in Home#index Showing _/home/sairamsu/public_html/app/views/products/_featured_product_card.html.erb_ where line #3 raised:
    Copy code
    either width or height must be specified
    Extracted source (around line #15):
    Copy code
    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 it
    f
    • 2
    • 1
  • f

    Fabian V. Thobe

    04/04/2025, 2:16 PM
    Hey, am I wrong or should the login of a guest user automatically trigger a cart recalculation?
  • g

    Gerald Müller

    04/04/2025, 2:29 PM
    Hi all! I´m maintaining a couple of stores (Spree 4.2). Already late I tried to upgrade the first one and this blows my mind. I have always been interested in the Solidus project, and always thought a change would be too complicated. But now I think it´s time to do it! This can´t be more complicated than upgrading Spree. E.g. here: https://github.com/spree/spree/issues/12231
  • g

    Gerald Müller

    04/04/2025, 2:30 PM
    ...sorry for the premature sending. To be continued...
1...3536373839Latest