Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change product's price color away from link color #2174

Merged
merged 1 commit into from
Aug 25, 2017

Conversation

notapatch
Copy link
Contributor

@notapatch notapatch commented Aug 22, 2017

  • price on products page has a link color but it is not a link
  • links should be distinct to improve usability
  • chosen color variable product_body_text_color

@notapatch notapatch force-pushed the price_is_not_a_link branch from 95fa612 to c4c9678 Compare August 22, 2017 09:46
@notapatch
Copy link
Contributor Author

notapatch commented Aug 22, 2017

I am open to suggestions on what color variable you would like the price text to be but since it isn't a link ... this is more an "anything but link color" pull request.

The price still remains distinct through size alone.

@cbrunsdon
Copy link
Contributor

I'm not picky on colors at all (or the default frontend, for that matter), but @Mandily might have an opinion.

@Mandily
Copy link
Contributor

Mandily commented Aug 22, 2017

I agree with @notapatch - it is confusing to have the prices looking like links. Swapping the variable for the product_body_text_color looks fine to me. Screenshot for anyone wondering what this looks like: 👍

screen shot 2017-08-22 at 1 26 29 pm

Copy link
Contributor

@cbrunsdon cbrunsdon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm good if amanda is

@jhawthorn jhawthorn added the changelog:solidus_frontend Changes to the solidus_frontend gem label Aug 22, 2017
@notapatch
Copy link
Contributor Author

notapatch commented Aug 22, 2017

I didn't explain it very well - I did not mention this was for the products#show page (I will do print screens to help reviewers) and not the products#index page as in the above image.

However, as @Mandily points out .. the products#index page is also using the link colors for non-links. If people are agreeable, I can extend the pull request to include the price on the product's index page - I will also check if price appears consistently throughout the front end application before resubmitting.

Copy link
Member

@gmacdougall gmacdougall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Thanks for the contribution!

@Mandily
Copy link
Contributor

Mandily commented Aug 23, 2017

Sounds good to me @notapatch Can you post screenshots once you've made changes to the other areas please and thanks!

  - product price is the same color as a link but it is not a link
    - links should be distinct to improve usability
  - chosen color variable $product_price_text_color
@notapatch notapatch force-pushed the price_is_not_a_link branch from c4c9678 to 919924c Compare August 24, 2017 10:57
@notapatch
Copy link
Contributor Author

notapatch commented Aug 24, 2017

What do shopping sites do with price colors?

I took the first 20 sites from Alexa shopping category [1] and 3/4 of the websites had the non-sale price in black. Four sites used a brand or accent color on #index and the #show page and one site had different price colors on index and show.

In other words, if I show the price in black and leave a variable to change the price color then we can mock the requirements for 95% of the websites in the top 20.

What did I change?

I chose an application unique dark gray color so that anyone picking the color can grep and find it quickly - #252525.

What pages were changed?

products#index, products#show, orders#edit, checkout order summary panel (affecting Address, Delivery, Payment) and checkout confirm.

Products#index Before

solidus-products-index-before

Products#index After

solidus-products-index-after

Orders#edit Before

solidus-orders-edit-before

Orders#edit After

solidus-orders-edit-after

Checkout order summary panel Before

solidus-checkout-address-before

Checkout order summary panel After

  • it would probably look nicer if the "Order Summary" panel had a more consistent look with the Billing and Shipping panels

solidus-checkout-address-after

Checkout - confirm Before

solidus-checkout-confirm-before

Checkout - confirm After

  • "Sub total" and "order total" should be de-emphasized as the shopper is more interested in the amounts than the titles - this will give a "cleaner" look to the page.

solidus-checkout-confirm-after

Discussion

For a few lines of code, this is a big change to the appearance - we might only want the change affecting products#index and products#show for now? Or make the change and update the checkout pages to go with the price color change?

[1] - I did not count Amazon.co.uk as I assumed it was the same as Amazon.com, Netflix because they required a login and I assume they aren't going to be a standard shopping site.

Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🙏🏼

@Mandily
Copy link
Contributor

Mandily commented Aug 24, 2017

Looks good to me! 👍

@tvdeyen tvdeyen merged commit 4ade94e into solidusio:master Aug 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_frontend Changes to the solidus_frontend gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants