Color swatch next to Options text

  • Steven
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 11 months ago - 8 years 11 months ago #61962 by Steven
Color swatch next to Options text was created by Steven
Hi,

I am using EShop joomla component in our site. we have created options for color selection and also added the images for that colors.
Now, when i am selecting any color from options list that image is displaying under the main image section(Please check our attached screenshot).
Now, can you please tell me how can i display color image next to the color option name?
Also we need to display same color image on checkout page. under product name coloumn.
Attachments:
Last edit: 8 years 11 months ago by Steven.

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
8 years 11 months ago #61963 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Color swatch next to Options text
Hello Steven,

EShop does not support to display option images near the options. If you want to have that, you must modify to the product details layout.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

  • Steven
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 11 months ago #61966 by Steven
Replied by Steven on topic Color swatch next to Options text
Hi, can you please tell me in which file i have make change and what change i have to do?

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
8 years 11 months ago #61967 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Color swatch next to Options text
Hi Steven,

Are you a programmer? It's hard to guide you how to do exactly.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

  • Steven
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 11 months ago #61968 by Steven
Replied by Steven on topic Color swatch next to Options text
Yes. I am Programmer. can you please explain step by step?

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
8 years 11 months ago #61969 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Color swatch next to Options text
Hi Steven,

I can only show you 2 files that you may need to fix to:

1. components/com_eshop/helpers/option.php
2. components/com_eshop/themes/default/views/product.php

Sincerely, Giang

Please Log in or Create an account to join the conversation.

  • Steven
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 11 months ago - 8 years 11 months ago #61970 by Steven
Replied by Steven on topic Color swatch next to Options text
components/com_eshop/themes/default/views/product.php

But there is no file product.php in components/com_eshop/themes/default/views ?
can you please tell me excatly in which file i have to do change?

and there is also one requirement from our client. he need add to cart button and quantity selection for each options. for example if i have added two option of colors like "Black" and "White" then for each option there is add to cart button and quantity selection option. so, it can be possible in eshop? or can you please tell me better option to do just like that?
Last edit: 8 years 11 months ago by Steven.

Please Log in or Create an account to join the conversation.

  • Steven
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 11 months ago #62003 by Steven
Replied by Steven on topic Color swatch next to Options text
can you please reply on #61970 query?

"there is also one requirement from our client. he need add to cart button and quantity selection for each options. for example if i have added two option of colors like "Black" and "White" then for each option there is add to cart button and quantity selection option. so, it can be possible in eshop? or can you please tell me better option to do just like that?"

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
8 years 11 months ago #62096 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Color swatch next to Options text

Steven wrote: components/com_eshop/themes/default/views/product.php

But there is no file product.php in components/com_eshop/themes/default/views ?
can you please tell me excatly in which file i have to do change?


Hi Steven,

Sorry, my mistake. It is file components/com_eshop/themes/default/views/product/default.php

Sincerely, Giang

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
8 years 11 months ago #62097 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Color swatch next to Options text

Steven wrote: can you please reply on #61970 query?

"there is also one requirement from our client. he need add to cart button and quantity selection for each options. for example if i have added two option of colors like "Black" and "White" then for each option there is add to cart button and quantity selection option. so, it can be possible in eshop? or can you please tell me better option to do just like that?"


Hi again Steven,

I am sorry but there is no feature like this now.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong