Questions tagged [solidus]

Solidus is an open source e-commerce system. It was forked from the Spree open source project.

Solidus is an open source e-commerce system. It was forked from the Spree open source project. More information is available at https://github.com/solidusio/solidus/ and http://solidus.io/

93 questions
1
vote
1 answer

It seems your ruby installation is missing psych (for YAML output). To eliminate this warning, please install libyaml and reinstall your ruby

on fresh Solidus installation, running bundle exec rails g spree:install, throws exception $ bundle exec rails g spree:install /Users/jason/.rvm/rubies/ruby-2.2.5/lib/ruby/2.2.0/yaml.rb:4:in `': It seems your ruby installation is…
Jason FB
  • 4,752
  • 3
  • 38
  • 69
1
vote
1 answer

Solidus: Code that is executed in after_save callback returns error in rspec

I'm using latest version of Solidus e-commerce (fork of Spree) and I'm having this issue. To describe it quickly: In Admin I create Spree::Membership record after_save callback in Spree::Membership creates Product and 2 variants This code works…
OndrejK
  • 187
  • 1
  • 9
1
vote
2 answers

Ruby - Check if controller defined

I am using Solidus with Ruby on Rails to create a webshop and I have multiple modules for that webshop. So, I defined a me controller into an module called 'solidus_jwt_auth' with the followin code: module Spree module Api class MeController…
1
vote
0 answers

GraphQL Ruby integrate with solidus searchkick

i'm currently working on an ecommerce project, and start to implement graphql ruby with my solidus, now i'm about to build on faceted search using solidus searchkick there is a custom function provided by solidus_searchkick searcher =…
1
vote
1 answer

Customize Solidus library code - Address with optional phone number

I am trying to override Solidus code and wanted to know what my options were? In particular I am trying to change the Address to make the phone optional.
notapatch
  • 6,569
  • 6
  • 41
  • 45
1
vote
1 answer

Spree / Solidus remove state from addresses

By default addresses in Spree and Solidus expect a state in the address. In the UK we do not use states. For countries without a state how can I avoid this?
Margaret
  • 31
  • 6
1
vote
1 answer

Spree on ruby on rails (No products / Admin panel issue)

I am not able to get into the admin panel in Spree & Solidus I've tried both gems and failed miserably. They also don't return the default home page with ROR t-shirts instead my frontend says no products I have pictures with my issue being…
Que
  • 11
  • 2
1
vote
2 answers

Spree/Solidus: format currency to show symbol before price with space "€ 99"

I use Rails 4 and Solidus 1.2 How does one format the price to have a currency symbol with a space before the number like "€ 99"? Spree/Solidus use Ruby Money Gem to handle currencies and I see in…
StandardNerd
  • 4,093
  • 9
  • 46
  • 77
1
vote
1 answer

Swapping delivery and address solidus and removing payment steps

i wanted to setup cash on delivery and in store pick as my shipping options. So when the user selects the in store pick up the address is set to store location. these are the changes i made to order_decorator.rb Spree::Order.class_eval do …
1
vote
1 answer

How to make Spree promotional rule work?

I want to create a promotional-rule in the spree in which Free gift added to the cart for the first-time buyer. It means if anybody purchase from my shop as the first-time buyer he will get a specific product as a gift and it will be added to the…
1
vote
1 answer

on Solidus 1.3 fresh install: Validation failed: Store can't be blank when adding to cart (on solidus hello-world install, v1.3)

I get this when I click "Add to Cart" on a basic product. In my spree_stores table I have a single record for 'Sample Store' as it was populated by the generators (?) ActiveRecord::RecordInvalid in Spree::OrdersController#populate Validation failed:…
Jason FB
  • 4,752
  • 3
  • 38
  • 69
0
votes
0 answers

Getting uninitialized constant Spree::Admin::UserSessionsController when trying to access admin in fresh install

I've done a fresh install of ruby on rails and solidus with WSL using ubuntu. I can access the frontend store just fine, see the default products and such, but when I try to access the admin page using http://127.0.0.1:3000/admin/login I get the…
0
votes
1 answer

Modify the Cart button in Solidis

Using gem solidus 3.1.8 I would like to modify the CART button on the main_nav_bar to not include money and just show the qty. ` Spree.fetch_cart('<%= j spree.cart_link_path…
Jason
  • 3
  • 3
0
votes
0 answers

solidus problems how change elemets

I created an app via solidus for a school project (I start there is 3 mouth ago) ( Im French sorry for my bad English). I'm trying to plug two elements, one with an event into it (date, days, price, etc). Unfortunately I end up with a lot of errors…
Kitoko
  • 1
  • 1
0
votes
1 answer

Replace an existing state machine in solidus

I need to customize few state machines' behaviour for our business requirement and followed the documentation for the solidus recommended way of replacing an existing state machine. However, I am not being able to do so this way. Do I have to do…
Rabin Dhamala
  • 29
  • 1
  • 1
  • 5