solidus

https://github.com/solidusio/solidus

Ruby

🛒 Solidus, the open-source eCommerce framework for industry trailblazers.

Spree::Variant::PricingOptions.default_price_attributes

When editing variants in the admin, this is the standard price the admin interacts with:
The price in the admin's globally configured currency, for the admin's globally configured
country. These options get merged with any options the user provides when instantiating
new pricing options.

Source | Google | Stack overflow

Edit

git clone [email protected]:solidusio/solidus.git

cd solidus

open core/app/models/spree/variant/pricing_options.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Spree--Variant--PricingOptions-default_price_attributes-for-pr


# Commit to git

git add core/app/models/spree/variant/pricing_options.rbgit commit -m "better docs for Spree::Variant::PricingOptions.default_price_attributes"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Spree--Variant--PricingOptions-default_price_attributes-for-pr

hub pull-request


# Celebrate!