Badge does not appear

  • Posts: 42
  • Thank you received: 1
8 years 2 weeks ago #270856

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.2
-- PHP version -- : 5.6
-- Browser(s) name and version -- : chrome

I created a badge, I set the view to YES but it does not appear anywhere.

When creating a badge, it does not save the DISCOUNT field in the database

Attachments:

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

  • Posts: 83937
  • Thank you received: 13601
  • MODERATOR
8 years 1 week ago #270869

Hi,

Please save the badge once without entering anything in the discount field.
So that you're sure you don't have anything saved for it in the database.
Also, not that the badge will only display for products in the category "product category" or its sub categories, and only if the quantity fo the product is equal to 10 based on how you configured your badge.
So please make sure that your products match these requirements.

In the discount field, you need to enter the code of a discount you already created in the menu Orders>Discounts and select it in the dropdown which will appear below. If you enter something which doesn't match with a discount code, it won't take into account your text.

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

  • Posts: 42
  • Thank you received: 1
8 years 1 week ago #270926

Tanks
After some attempts I succeeded
Now displays the NEW and DISCOUNT badges

But if I calculate the discount from orders> discount
Apply the discount to all product variants

To have two variants with a discount and a full price I have to create two different products?

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

  • Posts: 83937
  • Thank you received: 13601
  • MODERATOR
8 years 1 week ago #270941

Hi,

badges don't change per variants but per product.
So if you have discounts for some variants and not others for the same product, that would display the badge regardless on the product page. You would have to create different products if you wanted to separate the badge display in that case.

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

  • Posts: 42
  • Thank you received: 1
8 years 1 week ago #270953

I found a solution to set a discount for product variants:
I use the two price fields, also with the badge indicate the discount

See attached picture

;)

Attachments:

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

  • Posts: 42
  • Thank you received: 1
8 years 1 week ago #270993

Do you know what happens?
If I see the badge in a product with the variants, when I change the variant, the badge disappears.

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

  • Posts: 83937
  • Thank you received: 13601
  • MODERATOR
8 years 1 week ago #271067

Hi,

Wouldn't the problem be that the discount is only for some variants and not others ?
How did you configure the badge, the discount and the variants of the products ?

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

  • Posts: 42
  • Thank you received: 1
8 years 1 week ago #271071

The problem is this:
The badge disappears when I select product variants

I attach some screenshots to better explain

Last edit: 8 years 1 week ago by testdrive.

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

  • Posts: 83937
  • Thank you received: 13601
  • MODERATOR
8 years 1 week ago #271095

Hi,

And how did you configure your discount ?
Could you do a screenshot of the settings of the discount ?
Could you also provide a link to the page so that we can better analyze the situation ?

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

  • Posts: 42
  • Thank you received: 1
8 years 1 week ago #271130

The discount I calculate it as the final price, and it works correctly
The problem is that the badge on the variants does not appear

Attachments:

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

  • Posts: 83937
  • Thank you received: 13601
  • MODERATOR
8 years 1 week ago #271138

Hi,

I'm sorry but we can't help if you don't want to provide the information we're asking.
The display of the badge is linked to the discount, and the discount is linked with the product in some way, but we don't know how. So we don't know how the badge is linked to the product without knowing how the discount is setup on your website.
Could you do a screenshot of the settings of the discount ?
Could you also provide a link to the page so that we can better analyze the situation ?

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

  • Posts: 42
  • Thank you received: 1
8 years 1 week ago #271283

I'm sorry I was wrong

I try to give more details:
- discount: I did not set any discount using ORDERS> DISCOUNTS;
- badge: I use it only to display the image;
- how do I get the discount then? I insert the discounted price, see screenshot;
- how do I link the product to the badge? Using the categories, see screenshots;

The problem: when I open the main product page, the badge is visible. But if I click on the variants, the badge disappears

I can not publish the link of work in progress but if you agree, I can send it in private message

thank you

Attachments:

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

  • Posts: 83937
  • Thank you received: 13601
  • MODERATOR
8 years 1 week ago #271399

Hi,

Thanks for the additional information. I've added a patch for that.
Please download the install package from our website and install it on yours in order to get the fix.

The following user(s) said Thank You: testdrive

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

  • Posts: 42
  • Thank you received: 1
8 years 1 week ago #271405

Works great
thank you

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

Time to create page: 0.132 seconds
Powered by Kunena Forum