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

    Noah Summers

    02/25/2022, 10:59 PM
    Does Solidus have a concept of product bundles? I was thinking of have a "bundle" object, which "has many products", and maybe has a discount percentage, for example (so the bundle price would be a function of product prices and bundle attributes).
  • n

    Noah Summers

    02/25/2022, 11:00 PM
    I may be missing something, but I can't find any similar ideas in the Solidus documentation. Is this because that level of detail would be better left to some other tool that generates the flat list of products which Solidus uses?
  • n

    Noah Summers

    02/25/2022, 11:01 PM
    https://docs.oracle.com/cd/E23095_01/Platform.93/ATGCommStoreGuide/html/s0206creatingaskubundle01.html
  • n

    Noah Summers

    02/25/2022, 11:02 PM
    This sounds exactly like what I was imagining for our use case (especially the "Bundles allow a group of items to be purchased as a single item, although it is treated as multiple items in order fulfillment"). Would love to be pointed in the right direction for doing something similar with Solidus.
  • n

    Noah Summers

    02/25/2022, 11:04 PM
    Note: I've seen Promotions, and I can see how promotion rules might be usable to achieve "bundle-like" pricing discounts, but I'm imagining bundles where the individual components may not be available to "add to cart" (the bundle itself would act like a single product in the UI).
  • j

    Jared Norman

    02/25/2022, 11:13 PM
    There's solidus product assembly, an extension that does something like what you're describing.
    n
    • 2
    • 1
  • m

    Mateus Resende

    02/26/2022, 9:05 PM
    Hey all! Has anyone done an integration of stripe gem with solidus without using the solidus_stripe gem? Or has anyone been able to use Stripe Elements UI with different payment methods with solidus_stripe gem?
  • i

    Ifechuwku

    02/28/2022, 8:21 AM
    Please I am facing an issue in production... customer makes purchase but in the admin backend it's NOT showing the items bought. I am lost at why this occurs, it also occur randomly. Please treat as urgent.
    g
    e
    • 3
    • 3
  • r

    renodor

    02/28/2022, 5:01 PM
    Hello, how do you do to translate your routes? I started to use route_translator gem, but it does not work properly when mounting engines in Rails routes. This is how you are supposed to localize routes with route_translator gem:
    Copy code
    localized do
        mount Spree::Core::Engine, at: '/'
      end
    Anyone faced similar issue and came up with an alternative?
  • m

    Manu

    02/28/2022, 5:45 PM
    Has anyone had success using Tailwind on top of Solidus?
    t
    • 2
    • 1
  • c

    Chromico

    02/28/2022, 6:44 PM
    Hey everyone. I'm having trouble installing solidus. I followed the steps here but I got this in my terminal when I tried installing via bundle. I tried with gem but I can't seem to use rails install
    j
    • 2
    • 2
  • g

    Gustavo Iglesias

    02/28/2022, 10:56 PM
    Hi guys, I have finally managed to get my docker setup, up and running, but now when I got to the browser I can see this error:
    Copy code
    NameError (uninitialized constant SolidusStarterFrontend::Config
    Did you mean?  RbConfig):
    
    app/controllers/spree/store_controller.rb:21:in `config_locale'
    has anyone experienced this before?
    • 1
    • 1
  • s

    Sandeep Ravichandran

    03/01/2022, 2:16 PM
    I would like to know if there's a way we can use solidus for a food delivery platform. The difference is being able to order for multiple dates, handling stock inventory on a daily basis, handling delivery for a particular radius...
    g
    s
    • 3
    • 4
  • t

    Tyler Kocheff

    03/01/2022, 3:27 PM
    Hi, hoping for some clarification regarding overrides/decorators/monkey patches. In the docs, the Monkey Patches page linked in the nav has this text:
    Copy code
    If you're using a Solidus version minor than 3.2, the content on this page is still applicable. However, you might want to look at the previously recommended approach through decorators .
    The Decorators page it links to has this text:
    Copy code
    Automatic autoloading will only work for Solidus versions minor than 3.2. Take a look at monkey patches for the current recommended approach.
    They both seem to imply that the other method is the recommended way. I think the monkey patch method is recommended, but the text is a bit confusing so just want to confirm and point out that the wording might throw some people off.
    j
    • 2
    • 2
  • s

    Sajid Ali

    03/02/2022, 8:04 AM
    Hey Guys, we add some controllers with views like a scaffold in the backend app. I want a command for this purpose? if anyone knows about it let me know here or pm.
    j
    • 2
    • 1
  • g

    Gustavo Iglesias

    03/03/2022, 12:29 AM
    whenever I run:
    Copy code
    rails generate solidus:install \
                --migrate=true \
                --sample=true \
                --seed=true \
                --with-authentication=true \
                --payment-method=none \
                --auto-accept=true \
                --admin-email=admin@example.com \
                --admin-password=test123
    I get a
    solidus_auth_devise
    added to my gemfile:
    Copy code
    gem 'solidus_auth_devise'
    gem 'solidus_auth_devise'
    gem 'solidus_auth_devise'
    gem 'solidus_auth_devise'
    gem 'solidus_auth_devise'
    gem 'solidus_auth_devise'
    is there a way to prevent this?
    j
    • 2
    • 2
  • t

    Tom Wilson

    03/04/2022, 12:58 AM
    Just to throw out something that burned me today. By default, the Rails cache uses FileStore, which is local to a particular machine. So if you track inventory, and allow caching of
    in_stock
    , which uses the Rails cache - you really need to be either on one machine or using a distributed cache. 🙂
  • t

    Tom Wilson

    03/04/2022, 12:59 AM
    Not a Solidus specific issue, by any means - but maybe one that is worth documenting somewhere in the configuration, perhaps? There's a tunable value generated for
    config.inventory_cache_threshold
  • j

    Jimmy Nguyen

    03/04/2022, 2:17 AM
    Hi team, Has anyone had success integrating VueJS to solidus backend? please share me your experience? Thanks!
    j
    • 2
    • 3
  • s

    Sajid Ali

    03/04/2022, 10:40 AM
    Hey guys, I override all backend apps with view controller and model. I want to install the searchkick_solidus gem in that app. I installed both gems:
    Copy code
    gem 'searchkick'
    gem 'solidus_searchkick'
    when I run this command "*bundle exec rails g solidus_searchkick:install*" I got this error.
    Copy code
    in `method_missing': undefined method `parent_name' for PRojectNAME::Application:Class (NoMethodError)
  • x

    Xan

    03/04/2022, 3:18 PM
    Is there any way to globally show an adjustment/promotion on the frontend as the coupon code for the label and not the name of the promotion?
  • r

    RAJEEV G

    03/04/2022, 5:55 PM
    Hi Team - I am new to Solidus. I was searching for an open source e-commerce tool which I think Solidus best suits. Can I ask couple of questions?
  • r

    RAJEEV G

    03/04/2022, 5:57 PM
    1. Are there any cost/pricing involved for any level (kind of base to advanced ) 2. Do we have a customer support team to address any queries/issues we face?
    j
    • 2
    • 1
  • f

    faraz

    03/04/2022, 8:03 PM
    I’m trying out the docket version, the containers seem to be working fine but don’t see anything on 3000. Anything I’m missing there?
  • b

    Benjamin J

    03/05/2022, 3:35 PM
    Hello, anybody can tell me how to override Users/Account views ? They don't generate with
    Copy code
    solidus:views:override
    j
    • 2
    • 2
  • b

    Benjamin J

    03/05/2022, 3:57 PM
    I have another question, can anybody tell me how to allow users to remove the credit card they saved after they purchased something ?
  • a

    Andre Schweighofer

    03/05/2022, 10:55 PM
    Hi all, I’ve followed advice from this thread to skip the delivery step and it’s working as expected. However, our default delivery fee is > 0 which means it comes as a surprise to the customer in the payment step. I’ve tried calling
    create_proposed_shipments
    but that seems to depend on a
    ship_address
    which is collected only later. What’s the most elegant way to display the shipping rate already in the shopping cart and address step?
    • 1
    • 1
  • m

    Manu

    03/07/2022, 10:34 PM
    Hi! I’m not 100% sure this is a Spree related issue but I’m a struggling to use ActionText attachments in the product description field with a Rails 6.1/Amazon S3 config. At first I thought it was an S3/CORS problem but I’m applying a similar policy (see below) in other apps without problems. What’s working : ActiveStorage works properly and saves Spree’s product images in my S3 bucket. ActionText/Trix work fine for saving/editing formatted text. What’s not working : ActionText/Trix won’t save any attachment. After the attachment is selected, the progress bar freezes at the 100% mark. No errors raised when saving. Any ideas on how to crack this problem ? The product model is decorated like this :
    Copy code
    module Myapp::ProductDecorator
    
      def self.prepended(base)
        base.has_rich_text :description
      end
    
      Spree::Product.prepend self
    end
    The backend view (app/spree/admin/products/_form.html.erb) is set like so:
    Copy code
    <%= f.field_container :description do %>
      <%= f.label :description %>
      <%= f.rich_text_area :description %>
    <% end %>
    The product show :
    Copy code
    <div class="trix-content">
      <%= @product.description %>
    </div>
    The CORS policy set on S3 :
    Copy code
    [
        {
            "AllowedHeaders": [
                "*"
            ],
            "AllowedMethods": [
                "PUT",
                "GET",
                "POST"
            ],
            "AllowedOrigins": [
                "*"
            ],
            "ExposeHeaders": [
                "Origin",
                "Content-Type",
                "Content-MD5",
                "Content-Disposition"
            ],
            "MaxAgeSeconds": 3600
        }
    Spree.rb
    Copy code
    config.image_attachment_module = 'Spree::Image::ActiveStorageAttachment'
    config.taxon_attachment_module = 'Spree::Taxon::ActiveStorageAttachment'
    Development.rb
    Copy code
    config.active_storage.service = :amazon
    Gemfile
    Copy code
    gem "aws-sdk-s3", require: false // S3 keys are properly set in the credentials file
    gem "image_processing", ">= 1.2"
    👀 1
    ❤️ 1
  • m

    Manu

    03/07/2022, 10:35 PM
  • o

    Oleksandr Pozniak

    03/09/2022, 11:39 AM
    Hello! I want to create sign in and sign up for client side, not for admin panel. Someone already did it? Maybe someone can help me? Post a few guides, etc? Thanks! I want to create Spree::User records, not from admin panel, from API end point, without authorization as admin, or another user with role from admin panel.
    k
    • 2
    • 4
1...121314...39Latest