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

Any workaround for solidus_braintree gem support on solidus 3.1.5(latest version) other than solidus_paypal_braintree gem integration?

I am trying to upgrade solidus_core to 3.1.5 (lates version till date) causing issue with solidus_braintree as this gem is deprecated on arrival of solidus_paypal_braintree gem. But wondering if any easy to fix solutions available keeping…
deba20
  • 11
  • 1
1
vote
1 answer

Adding a admin interface menu item in Solidus, shows up before user logged in

This is documented in the customization documents. But if you add a menu item in this way, it will show up as a link even when a user has not yet logged into the admin area.
Cody
  • 436
  • 5
  • 13
1
vote
0 answers

NoMethodError in Solidus when using external storage service

I have a vanilla Solidus installation (ruby 3.0 | rails 6.1.5) I'm using the edge guide to test a deployment on Heroku. I get the following error on my local machine if I configure active storage to use :amazon in my storage.yml file. The remote…
catcon
  • 50
  • 9
1
vote
2 answers

images not uploaded on Cloudinary with Solidus and active_storage

i created a shop. i host images on Cloudinary. I can load images on local and production but i don't find them on cloudinary. i…
AnnABlue
  • 121
  • 3
  • 12
1
vote
1 answer

Solidus: cannot find generator for rails g spree:install

I'm having a problem using Rails with Solidus where rails generate spree:install is giving me an error in terminal that says Could not find generator 'spree:install'. Maybe you meant 'devise:install', 'responders:install' or 'spree:dummy' I have…
C.Kraz
  • 483
  • 1
  • 4
  • 10
1
vote
0 answers

Asset pipeline don't load correctly after a Git clone of a Rails / Solidus App

i did a git clone of a rails / solidus app, it works well on my local computer but after a deployment in Production, the CSS and JS don't work correctly. i use Rails 6, webpack and sprockets. Requests of the asset pipeline are done but when i look…
AnnABlue
  • 121
  • 3
  • 12
1
vote
0 answers

Solidus - cannot upload or view images (ImageMagick is installed)

I'm just starting with Solidus, though I do know my way around Rails. I've created a Solidus project on my Mac, and I installed all the required gems as well as ImageMagick through Homebrew. Both identify and magick work as terminal commands as my…
Michael
  • 139
  • 1
  • 13
1
vote
1 answer

undefined method `friends' for #

Trying to build a friends feature on top of a Solidus framework, but the .friends method does not work. It does in rails console, however. SpreeUsers Controller (current_spree_user.friends causes error): class SpreeUsersController <…
1
vote
1 answer

Can you deploy the solidus sandbox to Heroku? What are the security concerns that need to be addresses before "go live"

After installing solidus as developer, the following command creates an application that's utilizing the code: DB=postgresql bundle exec rake sandbox this creates a sandbox directory in your ~/solidus directory. Can this sandbox be deployed to…
american-ninja-warrior
  • 7,397
  • 11
  • 46
  • 80
1
vote
1 answer

How to add pg_search to the seach form in Solidus frontend?

I have a question regarding pg_search: I installed the gem on solidus 2.9 and added a product_decorator.rb model like this: Spree::Product.class_eval do include PgSearch::Model pg_search_scope :search, against: [:name, :description,…
Ignacio
  • 37
  • 1
  • 9
1
vote
0 answers

Ransack 'sort_link' stops sorting towards end of listing

I have a very strange issue with Ransack that I'm finding hard to pin down. I have a table in Solidus which displays a product listing for an administrator to search through. This product listing can be sorted by several column names (namely, sku,…
GDP2
  • 1,948
  • 2
  • 22
  • 38
1
vote
0 answers

Rails Assets failing to precompile

Hi everyoneI’m having an issue precompiling the stylesheets of my rails 5.2.0 e-commerce with Solidus. Whenever I serve I get the following message: ActionView::Template::Error (Undefined variable:…
amandaorbe
  • 11
  • 1
1
vote
1 answer

Solidus current_user

I am trying to add login/logout/sign up links to the front page of a solidus app. In the _login_bar_items partial I put this: <% if spree_current_user %>
  • <%= link_to "Logout", destroy_spree_user_session_path, method: :delete %>
  • KH_
    • 305
    • 4
    • 13
    1
    vote
    1 answer

    Bootstrap for Solidus frontend

    I am using Solidus for the first time. I have been able to have it working as required. However, I am trying to make changes to the frontend. Although I'd rather use bootstrap 4, I could only find a way to port it with bootstrap 3 using a gem as…
    KH_
    • 305
    • 4
    • 13
    1
    vote
    1 answer

    Rails 5 production error: Cannot define multiple 'included' blocks for a Concern (ActiveSupport::Concern::MultipleIncludedBlocks)

    I'm running into an error while deploying production (both remote and locally). Development runs just fine. /Users/nope/.gem/ruby/2.5.1/gems/activesupport- 5.1.6/lib/active_support/concern.rb:126:in `included': Cannot define multiple 'included'…
    do0fusz
    • 43
    • 7