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
0
votes
1 answer

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 instance variable, but it does work. I don't see…
Paul Verschoor
  • 1,479
  • 1
  • 14
  • 27
0
votes
1 answer

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", "stock_location_id"], name:…
0
votes
1 answer

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 spree application "fires/ supports"?
american-ninja-warrior
  • 7,397
  • 11
  • 46
  • 80
0
votes
1 answer

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: is valid. As such, this is not needed:
Anon
  • 2,267
  • 3
  • 34
  • 51
0
votes
1 answer

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: Obviously that is wrong. Tags such as base,meta, and link do not need this. I kind of wish this wasn't…
Anon
  • 2,267
  • 3
  • 34
  • 51
0
votes
1 answer

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.0.beta, which depends on solidus_i18n (~>…
LedDev
  • 3
  • 2
0
votes
0 answers

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 rather than completely overwriting the default…
RyanQuey
  • 705
  • 1
  • 9
  • 29
0
votes
1 answer

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.erb Thanks taxons.js //= require…
Guy
  • 11
  • 1
  • 4
0
votes
1 answer

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 url: /ecommerce/api/option_types?... (not…
RyanQuey
  • 705
  • 1
  • 9
  • 29
0
votes
0 answers

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 << /Length 5 0 R /Filter /FlateDecode >> stream …
user10358924
0
votes
1 answer

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' # eCommerce gems gem 'solidus' gem…
0
votes
1 answer

Alternative to solidus_paypal_braintree for PayPal Payments

Want to process front-end PayPal payments, directly bypassing Braintree gateway. Can anyone advise or recommend cost for a solution?
Guy
  • 11
  • 1
  • 4
0
votes
1 answer

Modify Spree Cart.js to Show Correct Cart Item Count and Amount

spree cart link This cart shows 3 items from 3 separate order numbers. But link item number and amount are incorrect because Spree Cart is retrieving data line items for ONE Order from cart.js I want to be able to return item count and amount from…
Guy
  • 11
  • 1
  • 4
0
votes
1 answer

Solidus Paypal Braintree Integration Not Working?

Using a sandbox account, I have been trying to integrate solidus_paypal_braintree with my app. Clicking the PayPal Checkout button brings up the PayPal window, without payment details. Then static control is returned to the app. What am I missing…
Guy
  • 11
  • 1
  • 4
0
votes
0 answers

Solidus - First time installation, error when trying to run the spree:install generator

I need your help. I've been trying to follow the instruction on this site: Solidus First-time installation And I kept getting an error at this step: bundle exec rails generate spree:install Error as follow: …
ttinggggg
  • 157
  • 1
  • 1
  • 14