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

    Test Account

    10/08/2022, 1:36 AM
    👍
  • c

    Chirag Jain

    10/09/2022, 6:58 AM
    Hi all, What is the api details for authentications? I dont find it in stoplight
    k
    • 2
    • 7
  • c

    Chirag Jain

    10/09/2022, 12:25 PM
    Hi, After Trying integration with stripe seeing below issue: In payment form, input is getting blocked. New to rails, can anybody help? how to debug these issues?
    n
    e
    • 3
    • 3
  • n

    Naoki Mi

    10/10/2022, 7:11 AM
    does Solidus offer an out-of-box or extension support for rentals? e.g.: car renting made a quick search but couldn’t find anything
    e
    • 2
    • 1
  • k

    Konstantin Nechepurenko

    10/10/2022, 12:35 PM
    👋 Hello, team! I have to upgrade my app that works on Solidus 2.10 Thus my path is v2.10 → 2.11 → 3.0 → 3.1 Is there a writeup for these or any documentation? 👀
    k
    • 2
    • 3
  • j

    Jay

    10/10/2022, 2:37 PM
    Hello guys , I have a question. First: I'd like to limit the number of products that display on my homepage, Currently all the products in the database . I'd like to be e.g 4 or 5 products featured. I'd probably want to have categories. e.g Featured products, Recently added products etc. Secondly: i keep getting this error i can't seem to solve everytime the products get too many and the pagination doesn't work and i get the error:
    Copy code
    [413e2389-76e2-46b8-b384-75a5cf9f8d94] ActionView::Template::Error (No route matches {:action=>"show", :controller=>"spree/demo", :page=>"2"}):
    [413e2389-76e2-46b8-b384-75a5cf9f8d94]      6: 
    [413e2389-76e2-46b8-b384-75a5cf9f8d94]      7: <% content_for :head do %>
    [413e2389-76e2-46b8-b384-75a5cf9f8d94]      8:   <% if paginated_products.respond_to?(:total_pages) %>
    [413e2389-76e2-46b8-b384-75a5cf9f8d94]      9:     <%= rel_next_prev_link_tags paginated_products %>
    [413e2389-76e2-46b8-b384-75a5cf9f8d94]     10:   <% end %>
    [413e2389-76e2-46b8-b384-75a5cf9f8d94]     11: <% end %>
    [413e2389-76e2-46b8-b384-75a5cf9f8d94]     12:
    Thanks in advance.
    e
    • 2
    • 1
  • t

    Test Account

    10/12/2022, 4:28 PM
    Hey! Is it possible to get
    solidus_auth_devise
    working if I have an existing
    User
    class?
    Spree::Auth::Engine.load_seed if defined?(Spree::Auth)
    from
    db/seeds.rb
    results in:
    Copy code
    Create the admin user (press enter for defaults).
    Email [admin@example.com]:
    Password [test123]:
    rails aborted!
    NameError: undefined local variable or method `spree_api_key' for #<Spree::User id: nil, email: nil, persistence_token: nil, perishable_token: nil, last_request_at: nil, login: nil, ship_address_id: nil, bill_address_id: nil, created_at: nil, updated_at: nil, authentication_token: nil, deleted_at: nil>
    I tried
    rails generate spree:custom_user User
    and then re-running
    rails db:seed
    but to no avail. I also found https://github.com/solidusio/solidus/issues/681 from 2016 but it remains unsolved.
    e
    j
    • 3
    • 7
  • j

    Jay Davis

    10/12/2022, 8:34 PM
    I have a question about the Related Products plugin.
    Spree::Relation
    records have a position field that is nil by default; they have to be reordered before the position number gets assigned (it doesn't appear to use
    acts_as_list
    -- the assignment occurs in
    Spree::Admin::RelationsController
    ). Is there a better way of changing this behavior than overriding the controller/view?
    c
    • 2
    • 3
  • r

    Rasna Shakya

    10/13/2022, 7:37 PM
    i have a question regarding solidus paypal commerce platform. Once i select payment method and get back to site, it change my shipping address and replace shipping user name with sandbox user name. Is it only for sanbox how can we prevent this? Does anyone has faced this issue. Or is there any way to disable shipping address change on pypal site. any info would be great help
  • j

    Jared Norman

    10/13/2022, 9:01 PM
    @Gustavo Alvarado The guides contain information on how to customize your store: https://guides.solidus.io/customization/customizing-your-storefront
    ✅ 1
  • g

    Gustavo Alvarado

    10/13/2022, 9:01 PM
    How can I add more products as shown in the image?
  • n

    Naoki Mi

    10/14/2022, 12:34 AM
    you can go to the admin panel (/admin), click on the “Products” tab and “Add Product” button
  • w

    Wladjmir

    10/15/2022, 6:43 PM
    Hi, i’m trying to set a filter for available descendant of current taxon it works with taxon (category), but if i start from a taxon that has no descendants (brand) i get something like this SQL :
    AND “spree_products_taxons”.“taxon_id” = $2 AND “spree_products_taxons”.“taxon_id” = 4
    there is a way to manage this? maybe using a subquery with arel? Thanks
    n
    • 2
    • 3
  • t

    Test Account

    10/16/2022, 4:35 PM
    Re: https://github.com/solidusio/solidus/issues/681 I just finished renaming all my occurances of
    User
    to
    RootUser
    (root_user.rb) so it won't clash with
    Spree::User
    when attempting to install the starter frontend🤞 It would be so nice with just
    User
    and
    Spree::User
    but from what I understand that would require some massive refactoring of the core? You guys also mentioned I could install the starter frontend without authentication and then manually mix and mash the two Devises -- is that something you guys would prefer to do personally?
  • g

    Given Reed

    10/17/2022, 1:30 PM
    Super noobish question (and not specifically about Solidus, so if I should ask in another channel I'll move it, but I figured it was for a solidus gem and I could justify it tangentially)... Usually when we make personalized changes to gems we just fork and use our own version. In the spirit of hacktoberfest we're trying to actually submit pr's on some of the things that might actually be useful to others, buuuuut the thing that we're running into is that we're still relatively new to ruby and have some bad habits carrying over from other languages... such as not testing... so we don't know how to run tests on the gems that we've made changes to. (I know I know, it's terrible, but we're trying to get better) The one specifically that I'm trying to test is for solidus_zip_zones, and I think I've followed the directions for testing in
    .readme
    , but I must be missing some context because I'm trying to write tests that intentionally fail (to make sure I get how the logic works), and what I'm getting back from
    bundle exec rake
    is
    Copy code
    Running via Spring preloader in process 5271
    Run options: --seed 16060
    
    # Running:
    
    Finished in 1.732592s, 0.0000 runs/s, 0.0000 assertions/s.
    0 runs, 0 assertions, 0 failures, 0 errors, 0 skips
    So it looks like I'm either just not getting how tests should be written or how they should be run. Or both, I guess. Can anybody point me in a direction for how to make sure I get a test written and tested? Especially if I promise that once we figure it out we'll start doing it more often? 😄
    j
    • 2
    • 13
  • t

    Test Account

    10/19/2022, 3:32 PM
    So I had to first install Solidus with
    solidus_starter_frontend
    , namespace and cleanly separate everything, commit the changes, then rebase and re-install Solidus but this time without the frontend. Because it forces your app to use Sprockets, so if you're using modern-day Propshaft, it will cause all kinds of difficulties.
  • t

    Test Account

    10/19/2022, 3:33 PM
    I will submit pull requests ASAP 👍
  • t

    Test Account

    10/19/2022, 3:35 PM
    Also I don't think BEM CSS is needed at all
  • t

    Test Account

    10/19/2022, 3:38 PM
    And would prefer StimulusReflex over Hotwire any day 🤞
  • t

    Test Account

    10/19/2022, 3:39 PM
    Let me know your thoughts. One thing is for certain,
    solidus_starter_frontend
    needs to be massively simplified.
    p
    • 2
    • 1
  • j

    Jared Norman

    10/19/2022, 3:41 PM
    Everyone is going to have different technology preferences for the frontend. The goal is to provide something relatively Vanilla that'll work well for simple stores and can be built upon.
  • t

    Test Account

    10/19/2022, 3:43 PM
    Absolutely!
  • j

    Jared Norman

    10/19/2022, 3:43 PM
    Things like StimulusReflex and Hotwire are great, but don't represent a good default in this case.
  • t

    Test Account

    10/19/2022, 3:44 PM
    Looks like we can lose half the ERB and partials though. But like you say it's all personal preference, so I'm prepared for my PRs not getting accepted 🙂
  • t

    Test Account

    10/19/2022, 3:44 PM
    That I totally agree
  • t

    Test Account

    10/19/2022, 3:44 PM
    StimulusReflex doesn't even have its website up yet
  • a

    alessandro

    10/19/2022, 3:46 PM
    Funny, we’re in a meeting with the Nebulab team talking exactly about the future of solidus_starter_frontend 🙂
    🙂 1
    💯 1
  • t

    Test Account

    10/19/2022, 3:46 PM
    But soon come. IMHO it's one of those rare cases where DHH's approach isn't the best way forward.
  • a

    alessandro

    10/19/2022, 3:46 PM
    @Test Account we’ll be in touch! We want to collect some feedback from the community about which direction we want to take there.
    p
    • 2
    • 2
  • t

    Test Account

    10/19/2022, 3:47 PM
    I remember something similar back with the whole Rails vs. Merb thing. The best would be for StimulusReflex and Hotwire to join forces, but the two camps seem too far apart now.
1...252627...39Latest