[Skip to main content](#vessel-content)

#   Badge on every variant

##

- **[aran.gibbs](/forum/user/42033-aran-gibbs "View aran.gibbs's Profile")**
- [![aran.gibbs's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar42033.png)](/forum/user/42033-aran-gibbs "View aran.gibbs's Profile") Topic Author
- [ Offline](/forum/user/42033-aran-gibbs)

Less More

- Posts: 23
- Thank you received: 0
-
-
-

9 years 4 months ago [\#273545](#273545) by [aran.gibbs](/forum/user/42033-aran-gibbs "View aran.gibbs's Profile")  *[Badge on every variant](/forum/26-product-category-display/891051-badge-on-every-variant#273545 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.3  HI,  I've got a client who runs a t-shirt printing business. He has asked if I can set up products with a variant of colours that a user can choose and the image displayed changes to match the option chosen. Now that part I know is easy by simply setting the relevant image of the t-shirt to the variant.  Here come the hard part.... The client has about 100 different things that he prints on the front of the t-shirts so rather than making 300 different images one for each slogan in each colour I want to use the same 3 images of the t-shirts in different colours and just use a different 'slogan image' over laid on the image.  i.e. a t-shirt with 'Hello' printed on it comes in 3 colours, white, blue &amp; red. I'd like my image files to be something like 'white.jpg', 'red.jpg', 'blue.jpg' and 'hello.jpg' where 'hello.jpg' is overlaid on all the other images automatically.  Now I tried this using badges.. seemed like a good way so I set up 'hello.jpg' as a badge and assigned it to the product which had variants of red, white &amp; blue who's images were the relevant one... seem logical right?.... However the badge only appears when you first land on the product page, as soon are you change the variant from say white (which is default) to blue the badge disappears.  So after some digging I found an old forum post from 2011 I think that says you don't support keeping the badge across all images.... so my questions are this:  1. Is it possible to get the badge to over the image regardless of which variant is chosen? I don't mind altering the product display files if need be to do this.  2. If this is not possible do you have any suggestions as to how I might achieve it without creating 300 images ie. 3 for each product rather than using the same 3 colour images for every product plus 1 'slogan' image?  3. How to I turn off the image popup. The client doesn't want people to be able to click on the images and get a popup model with the image in it.  I really love hikashop and don't want to have to look for a different solution just for this clients needs if they can't be achieved using it.  Thanks,  Aran")* was created by *[aran.gibbs](/forum/user/42033-aran-gibbs "View aran.gibbs's Profile")*

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.3

HI,

I've got a client who runs a t-shirt printing business. He has asked if I can set up products with a variant of colours that a user can choose and the image displayed changes to match the option chosen. Now that part I know is easy by simply setting the relevant image of the t-shirt to the variant.

Here come the hard part.... The client has about 100 different things that he prints on the front of the t-shirts so rather than making 300 different images one for each slogan in each colour I want to use the same 3 images of the t-shirts in different colours and just use a different 'slogan image' over laid on the image.

i.e. a t-shirt with 'Hello' printed on it comes in 3 colours, white, blue &amp; red. I'd like my image files to be something like 'white.jpg', 'red.jpg', 'blue.jpg' and 'hello.jpg' where 'hello.jpg' is overlaid on all the other images automatically.

Now I tried this using badges.. seemed like a good way so I set up 'hello.jpg' as a badge and assigned it to the product which had variants of red, white &amp; blue who's images were the relevant one... seem logical right?.... However the badge only appears when you first land on the product page, as soon are you change the variant from say white (which is default) to blue the badge disappears.

So after some digging I found an old forum post from 2011 I think that says you don't support keeping the badge across all images.... so my questions are this:

1. Is it possible to get the badge to over the image regardless of which variant is chosen? I don't mind altering the product display files if need be to do this.

2. If this is not possible do you have any suggestions as to how I might achieve it without creating 300 images ie. 3 for each product rather than using the same 3 colour images for every product plus 1 'slogan' image?

3. How to I turn off the image popup. The client doesn't want people to be able to click on the images and get a popup model with the image in it.

I really love hikashop and don't want to have to look for a different solution just for this clients needs if they can't be achieved using it.

Thanks,

Aran

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTEwNTEtYmFkZ2Utb24tZXZlcnktdmFyaWFudD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

9 years 4 months ago -  9 years 4 months ago [\#273623](#273623) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Badge on every variant](/forum/26-product-category-display/891051-badge-on-every-variant#273623 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.3  HI,  I've got a client who runs a t-shirt printing business. He has asked if I can set up products with a variant of colours that a user can choose and the image displayed changes to match the option chosen. Now that part I know is easy by simply setting the relevant image of the t-shirt to the variant.  Here come the hard part.... The client has about 100 different things that he prints on the front of the t-shirts so rather than making 300 different images one for each slogan in each colour I want to use the same 3 images of the t-shirts in different colours and just use a different 'slogan image' over laid on the image.  i.e. a t-shirt with 'Hello' printed on it comes in 3 colours, white, blue &amp; red. I'd like my image files to be something like 'white.jpg', 'red.jpg', 'blue.jpg' and 'hello.jpg' where 'hello.jpg' is overlaid on all the other images automatically.  Now I tried this using badges.. seemed like a good way so I set up 'hello.jpg' as a badge and assigned it to the product which had variants of red, white &amp; blue who's images were the relevant one... seem logical right?.... However the badge only appears when you first land on the product page, as soon are you change the variant from say white (which is default) to blue the badge disappears.  So after some digging I found an old forum post from 2011 I think that says you don't support keeping the badge across all images.... so my questions are this:  1. Is it possible to get the badge to over the image regardless of which variant is chosen? I don't mind altering the product display files if need be to do this.  2. If this is not possible do you have any suggestions as to how I might achieve it without creating 300 images ie. 3 for each product rather than using the same 3 colour images for every product plus 1 'slogan' image?  3. How to I turn off the image popup. The client doesn't want people to be able to click on the images and get a popup model with the image in it.  I really love hikashop and don't want to have to look for a different solution just for this clients needs if they can't be achieved using it.  Thanks,  Aran")*

Hello,

Why not add some picture in your thumbnail div **via Css command** with if needed **specific** selector (for example if you want restricted image display to **one** or **several** category).

With this and some "***positioning***" command to keep the new image in the top-right corner for example, something like this can do the trick :
Code:

.category_class .thumbnail_div_class a:before { content: url("http://YourWebsiteUrl/images/color/ImageName.png"); position: absolute; / to better move your new picture */ left: 85px; /* To deplace to the right the pic */ top: 5px; /* To deplace to the bottom the pic */ }

You can learn how to customize your frontend Css, [ **here**](https://www.hikashop.com/support/documentation/272-hikashop-display-by-color.html#custom)

Hope this will fit your needs.

Regards

Last edit: 9 years 4 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTEwNTEtYmFkZ2Utb24tZXZlcnktdmFyaWFudD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.044 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
