VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: Kuubs on September 28, 2020, 19:24:40 PM

Title: Coupon cannot select category
Post by: Kuubs on September 28, 2020, 19:24:40 PM
Hello,

I want to add a coupon for a specific category, but I cannot select a category. The list stays empty. Anyone know why? I checked the console but no errors.
Title: Re: Coupon cannot select category
Post by: jenkinhill on September 28, 2020, 20:45:37 PM
I just tested VM couons on VirtueMart 3.8.4 10335  and  dev version 3.8.5 10338  and was able to select categories for coupons in both cases.

Do you have Awocoupons installed?
Title: Re: Coupon cannot select category
Post by: Kuubs on October 06, 2020, 09:38:08 AM
Quote from: jenkinhill on September 28, 2020, 20:45:37 PM
I just tested VM couons on VirtueMart 3.8.4 10335  and  dev version 3.8.5 10338  and was able to select categories for coupons in both cases.

Do you have Awocoupons installed?

No i don't have that installed.

The weird thing is that the select is not working, see screenshot:

(https://i.imgur.com/CgTOiP5.png)
Title: Re: Coupon cannot select category
Post by: Jörgen on October 06, 2020, 11:08:47 AM
What template are You using in backend ? Try Isis.

Jörgen @ Kreativ Fotografi
Title: Re: Coupon cannot select category
Post by: GJC Web Design on October 06, 2020, 12:23:38 PM
Quotethe select is not working

in what way not working?
Title: Re: Coupon cannot select category
Post by: Kuubs on October 06, 2020, 16:10:52 PM
Quote from: Jörgen on October 06, 2020, 11:08:47 AM
What template are You using in backend ? Try Isis.

Jörgen @ Kreativ Fotografi

I am using isis. The default template.

Quote from: GJC Web Design on October 06, 2020, 12:23:38 PM
Quotethe select is not working

When I'm typing for category selection nothing comes up. It stays empty. I checked the console for errors but I don't see anything.
in what way not working?
Title: Re: Coupon cannot select category
Post by: jenkinhill on October 06, 2020, 16:33:31 PM
This selector is what I have:
(https://i.ibb.co/6BzYrtW/cat-select.jpg)
Title: Re: Coupon cannot select category
Post by: Kuubs on October 06, 2020, 17:02:14 PM
Quote from: jenkinhill on October 06, 2020, 16:33:31 PM
This selector is what I have:
(https://i.ibb.co/6BzYrtW/cat-select.jpg)

Yes that is what supposed to happen, but I don't get anything, it doesn't display anything.

Title: Re: Coupon cannot select category
Post by: jenkinhill on October 06, 2020, 17:44:10 PM
What about the others:

Allowed Shoppers    
Exclude Shopper Groups    
Allowed Product

Do they all allow section to be made?
Title: Re: Coupon cannot select category
Post by: Kuubs on October 06, 2020, 21:01:08 PM
Quote from: jenkinhill on October 06, 2020, 17:44:10 PM
What about the others:

Allowed Shoppers    
Exclude Shopper Groups    
Allowed Product

Do they all allow section to be made?

Nope that does not work as well
Title: Re: Coupon cannot select category
Post by: Jörgen on October 07, 2020, 00:22:19 AM
Sounds like You are missing some js stuff in back end. Have You changed settings for loading of this in VM ? You will find this in VM configuration.

Jörgen
Title: Re: Coupon cannot select category
Post by: Kuubs on October 07, 2020, 09:00:28 AM
Quote from: Jörgen on October 07, 2020, 00:22:19 AM
Sounds like You are missing some js stuff in back end. Have You changed settings for loading of this in VM ? You will find this in VM configuration.

Jörgen

No I tried finding it but I cannot seem to find it.

But I checked other websites that run Virtuemart, and lo and behold, none of them actually work in choosing a category in the backend. So I thought hm that is weird, I installed a fresh Joomla and a fresh Virtuemart, and yes it does not work there as well. I think something is broken.
Title: Re: Coupon cannot select category
Post by: Jörgen on October 07, 2020, 10:39:17 AM
Hello Huubs

I do not use these coupons, I use AwoCoupon myself. So I tried and tested in VM 3.8.2.10235 and found some odd behaviour.

I can asign users A..Z
I can assign shopper groups, all available
I can not assign more than a subset of products. 14 products actually, I have 1300 active and 700 inactive products in this test site.
I can assign only one category out of 277 categories.

This could have something to do with my category and product structure, but it indicates that there is something going on here.

regards

Jörgen @ Kreativ Fotografi