Questions tagged [solidus]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
43 views

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 ...
marquesini's user avatar
0 votes
1 answer
34 views

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 %>')` https://...
Jason's user avatar
  • 3
0 votes
0 answers
22 views

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, ...
Kitoko's user avatar
  • 1
0 votes
1 answer
60 views

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 ...
Rabin Dhamala's user avatar
2 votes
1 answer
159 views

Add Tailwind to a Solidus store

I have been trying to add Tailwind to a Solidus store with no luck. Adding Tailwind the usual way you would do on any Rails app does not work, as Tailwind components do not display properly. ...
Gabriel Guérin's user avatar
0 votes
1 answer
105 views

Solidus Paypal checkout fails in sandbox for non-PayPal payment variants

I have built a webshop in Ruby on Rails using Solidus. When I try to checkout in the PayPal sandbox with credit card or SEPA with a German address, it complains that the shop does not deliver there. ...
xeruf's user avatar
  • 2,681
1 vote
1 answer
38 views

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 ...
deba20's user avatar
  • 11
0 votes
2 answers
632 views

How do I troubleshoot "wrong number of arguments" in solidus affirm

Struggling to get solidus_affirm working and hoping anyone might have some ideas. I always have trouble with "wrong number of arguments" errors like this. Can get through checkout all the ...
embold-tyler's user avatar
1 vote
1 answer
318 views

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's user avatar
  • 446
1 vote
0 answers
86 views

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 ...
catcon's user avatar
  • 50
2 votes
1 answer
398 views

trying to add solidus to gemfile but having issues

this is what im getting when i add solidus to gemfile Bundler could not find compatible versions for gem "actionmailer": In snapshot (Gemfile.lock): actionmailer (= 7.0.2.3) In Gemfile: ...
Mus's user avatar
  • 21
2 votes
1 answer
111 views

404 on create_intent via solidus_stripe gem

Trying to integrate v3 intents , followed the readme but i keep getting thoses errors on js side : Feature Policy: Skipping unsupported feature name “payment”. v3:1:78187 Feature Policy: Skipping ...
plombix's user avatar
  • 398
0 votes
1 answer
51 views

Map an excel sheet to auto import products and update inventory and prices

Is there a way to map an excel sheet to auto import products and update inventory and prices from sheet on Solidus??
Jad 's user avatar
  • 1
2 votes
1 answer
1k views

Active Storage attachment - Can't resolve image into URL: undefined method `attachment_url

A similar question has been asked but none of the solutions have worked for me. Im building an app in solidus and need to generate qr codes for each time a product is created. Im using the rqr gem and ...
Landon Lapensee's user avatar
0 votes
2 answers
198 views

ArgumentError after changed config.currency in /admin/products/ in Solidus 3.0

I'm new in ruby on rails and Solidus. I created my project by following this guide: https://guides.solidus.io/developers/getting-started/first-time-installation.html Then, I want to change my default ...
Kin Cheng's user avatar
0 votes
1 answer
191 views

How to set default country in Solidus Ecommerce

First off, I'm trying to create (inventory) stock for my Product Variants. Not too sure but it appears that I need to create a Stock Location. Next, I'm trying to set Stock Location. However, I get ...
earth2jason's user avatar
2 votes
1 answer
387 views

Spree vs Solidus for Shopify like application

We are building a multi-tenant SaaS application where our users can easily build e-commerce sites of their own; very similar to what Shopify offers, except that this will be tailored to a specific ...
akshay_kashain's user avatar
0 votes
1 answer
378 views

undefined local variable or method `permitted_task_attributes’ for #<Api::V1::TasksController

I have a solution that follows the paradigm of Spree/Solidus, which encapsulate permitted params. It is not in my power to change it but to follow suit. However, I am having a problem I cant reproduce ...
Afolabi Olaoluwa's user avatar
1 vote
2 answers
515 views

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 follow: https://github.com/cloudinary/cloudinary_gem https://github.com/...
AnnABlue's user avatar
  • 121
0 votes
1 answer
105 views

Ruby on rails, Solidus e-comerce, problem with google indexing

Google indexing stopped on my site with error like "invalid value type for "name" field. The rails code generating this HTML is <% if products.any? %> <ul id="products&...
Charlie_oscar's user avatar
0 votes
1 answer
348 views

Solidus: [Spree WARNING] Missing migrations

I have a problem with Solidus 2.10.2 where when I run rails g spree:install several migration errors come up. Starting with [Spree WARNING] Missing migrations. and ending with [Spree WARNING] Run ...
C.Kraz's user avatar
  • 483
1 vote
1 answer
467 views

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', ...
C.Kraz's user avatar
  • 483
1 vote
0 answers
220 views

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 ...
AnnABlue's user avatar
  • 121
0 votes
1 answer
176 views

Adding Paperclip Attachment to Spree Orders Table,

I am working on an ecommerce website using Solidus, Rails. The site allows you to order photo frames & prints from a variety of options. To print a photo a user must upload the jpg file of the ...
Raunak Joneja's user avatar
-1 votes
1 answer
132 views

Rails ecommerce platform for rentals

Starting a new site for renting items. What's a good base ecommerce to start with? Solidus? Do any of them handle rental items natively? Plan to host in he heroku.
Jason's user avatar
  • 3
1 vote
0 answers
233 views

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 ...
Michael's user avatar
  • 139
0 votes
1 answer
282 views

Solidus payment integration with stripe connect account

My question is How to integrate the direct stripe connected account payment APIs in Solidus? I am new to solidus eCommerce platform and I have read about stripe provided the solidus_stripe for payment ...
prabu's user avatar
  • 6,141
0 votes
1 answer
31 views

What is the first file that is read on solidus?

Might sound like a easy question but can't find an answer... What is the first file that the interpreter reads when launching Solidus? I know it's a rails app but the code seemed to have been ...
Henri's user avatar
  • 993
0 votes
1 answer
197 views

Spree on shipment_state change callback

I want to run some code when shipment state changes to "shipped". I saw that there is the state_machine for order state change callbacks: state_machine.after_transition to: :complete, do: :...
Vedran Mijatović's user avatar
0 votes
1 answer
377 views

How to make a relationship with Spree::User?

I am trying to build a friends feature on top of the Solidus framework but am having trouble establishing a many-many relationship with Spree::Users. I tried making a user_decorator.rb file (in models/...
binniebraces's user avatar
1 vote
1 answer
361 views

undefined method `friends' for #<Spree::User:0x00007fbb6ec88f80>

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 ...
binniebraces's user avatar
0 votes
1 answer
139 views

How come 'current_spree_user' is available in the views, while it is not an instance variable

I'm using Solidus/Spree. Normally when you use variables from the controller, you use instance variables that start with an @. In my views, I have seen the use of current_spree_user which is not an ...
Paul Verschoor's user avatar
2 votes
1 answer
321 views

Why am I getting this error in my rails solidus app after installing bootstrap?

I am trying to set up a solidus app with custom css using bootstrap-sass. (I am following this tutorial) Prior to getting this error, the page would load just fine but none of the bootstrap css would ...
Chris Morgan's user avatar
0 votes
1 answer
1k views

ActiveRecord Import - duplicate key value violates unique constraint

Attempting to update a large dataset with ActiveRecord Import, I'm struggling to see why my insert is failing. In my schema for the model, this line exists: t.index ["variant_id", "...
Jake Penn's user avatar
0 votes
1 answer
61 views

spree OR solidus where are the events listed

If I'm reading the documentation correctly, one way to customize the behavior of spree is to listen to fired events. One event is "order_finalized". From where can I get a list of events that my ...
american-ninja-warrior's user avatar
1 vote
1 answer
134 views

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 ~/...
american-ninja-warrior's user avatar
2 votes
1 answer
393 views

Solidus installation issue with rails 6

I have been trying out to install Solidus on my mac, for which i followed the documentation, https://guides.solidus.io/developers/getting-started/first-time-installation.html I am using ruby version ...
Mazhar Ghulam's user avatar
1 vote
1 answer
287 views

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 :...
Ignacio's user avatar
  • 37
-2 votes
1 answer
187 views

Display brand name for a product in Solidus (Spree)

I created the taxonomy "Brand" and now I would like to add the brand name of a specific product. How can I do that? <% if products.any? %> <div id="products" class="inline product-listing ...
Kevin's user avatar
  • 427
0 votes
1 answer
1k views

When parsing html, do I need to watch out for self closing tags which do not need a solidus, having a closing tag?

There are certain tags in HTML which can be self closing without a solidus. For example: <link rel="shortcut icon" href="//www.google.com/favicon.ico"> is valid. As such, this is not needed: &...
Anon's user avatar
  • 2,335
0 votes
1 answer
469 views

Is there a list of all html tags that do not need a solidus or a closing tag?

I built a parser for html, but I worked under the assumption that it would follow the rule that there were only two forms: <foo> </foo> <foo/> Obviously that is wrong. Tags such as ...
Anon's user avatar
  • 2,335
0 votes
1 answer
308 views

Bundler could not find compatible versions for gem "solidus_i18n":

I am trying to install solidus_globalize but I get this error: Bundler could not find compatible versions for gem "solidus_i18n": In Gemfile: solidus_i18n solidus_globalize was resolved to 3.1....
LedDev's user avatar
  • 3
1 vote
0 answers
251 views

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 ...
GDP2's user avatar
  • 1,968
0 votes
0 answers
66 views

Associated Records not saving for child model

I'm working on a project that uses the Solidus engine. However, we want to modify the models, specifically by creating new models that inherit from the engine's default models. We chose to do this ...
RyanQuey's user avatar
  • 705
0 votes
1 answer
397 views

Spree or Solidus - Filter Product Taxons - taxons.js

Let's say I have 3 Taxons (Builders, States, Services). Is there a way to Filter "Edit Product Taxons" to list, when clicked, only "Services" Taxon in the dropdown? The spree view is edit_product.html....
Guy's user avatar
  • 11
-1 votes
1 answer
198 views

Rails 5.2.1 -> 5.2.2 upgrade on Heroku, deploy crashes with "Could not detect rake tasks"; Solidus 2.7

after upgrading and bundle install, I get this on deploy Could not detect rake tasks remote: ! ensure you can run `$ bundle exec rake -P` against your app remote: ! and using the production ...
Jason FB's user avatar
  • 4,980
0 votes
1 answer
729 views

Solidus API Routes

Right now I'm looking at the edit product view in the admin interface, but every time I try to find the option types, my api returns a 404. This appears to be because Select2 is hitting the following ...
RyanQuey's user avatar
  • 705
0 votes
0 answers
58 views

My erd.pdf was garbled. I want to solve this problem

I’m beginner. I study Ruby. I want to see ERD. So,I did this command. brew install Graphviz bundle exec erd --filename=tmp/erd I was able to display erd.pdf,but it was garbled. %��������� 4 0 obj ...
user avatar
1 vote
0 answers
146 views

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's user avatar
0 votes
1 answer
218 views

serviceworker-rails gem not intergrating with solidus eCommerce gem

I am using the serviceworker-rails gem to make my eCommerce application a progressive web app. Here is a gem file snippet from the project; # progressive web application gem gem 'serviceworker-rails' ...
kevin Mucheru's user avatar