V1.6 warranty badge Or any picture on your products, carousels.

meanstreak

New member
XNullUser
Joined
Sep 17, 2021
Messages
27
Reaction score
18
Points
3
NullCash
2
I created this module using Chat GPT to attach an image as a badge on carousels and product listings and on the product page, and it also works with Advanced Pack 5. Within the module, there is an image for a 3-year warranty, but you can change the image, adjust its size, position it where you want to stick it, and you can also create an offset from the edge, left, top, right, bottom. It works very well and does not slow down the webshop.

For the Advanced Pack 5, I added another file which is my template for you to have as a sample because it is necessary for the product in the pack to have a badge image attached, and it needs to be replaced here.modules/pm_advancedpack/views/templates/front/1.6

For badge to work, you need to add product to certain category, which you can choose which inside module. products that are in that category will be shown on this question.
This module was created because it is much more Easy to patch a badge image. instead of changing images for your products.
 

Attachments

  • mfgwarrantybadge_fixed.zip
    28.8 KB · Views: 0
  • pack-product-list.zip
    3.4 KB · Views: 0
Top