Author Topic: Discount rule not applyed if category isn't published  (Read 2475 times)

DaSco

  • Beginner
  • *
  • Posts: 23
Discount rule not applyed if category isn't published
« on: July 10, 2012, 22:03:42 pm »
In the version 2.0.8c is not applyed the rule associated to a category if the category is not published.

This working in the version 2.0.6.

You can try if it happens to you?


DaSco

  • Beginner
  • *
  • Posts: 23
Re: Discount rule not applyed if category isn't published
« Reply #1 on: July 11, 2012, 10:57:19 am »
Sorry for my bad English..

If I set a calculation rule for a category1 and after that I set this category not published, the calculation rule doesn't work, while in vers. 2.0.6 was all ok.

For example I need to create a not published category for set a discounts of my supplier.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10018
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Discount rule not applyed if category isn't published
« Reply #2 on: July 11, 2012, 12:27:14 pm »
found and fixed for 2.0.8d
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

DaSco

  • Beginner
  • *
  • Posts: 23
Re: Discount rule not applyed if category isn't published
« Reply #3 on: July 16, 2012, 18:10:05 pm »
Hi Milbo,

I have make a new site with version 2.0.8d but the rule don't work for all products.

I set a rule for discount of my supplier but it don't work for all products in this category. Why?

DaSco

  • Beginner
  • *
  • Posts: 23
Re: Discount rule not applyed if category isn't published
« Reply #4 on: July 16, 2012, 18:41:09 pm »
The rule isn't apply at the first product of the page

DaSco

  • Beginner
  • *
  • Posts: 23
Re: Discount rule not applyed if category isn't published
« Reply #5 on: July 17, 2012, 08:57:17 am »
Which file contains the error?

The rule is applied from the second product on the page, so for all pages

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10018
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Discount rule not applyed if category isn't published
« Reply #6 on: July 17, 2012, 10:14:30 am »
Strange, for me it works. the file is the product model. I did not load unpublished categories of a product in the FE. But now I load always all categories, so I wonder that you have still the problem.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

DaSco

  • Beginner
  • *
  • Posts: 23
Re: Discount rule not applyed if category isn't published
« Reply #7 on: July 17, 2012, 12:16:08 pm »
I have made a new installation for test with joomla 2.5.6a and VM 2.0.8e.

I set only one published category "prova" where there are 2 products:

- prova1         price Euro 10,00
- prova2         price Euro 20,00

I create a new rule with discount 20%

In the image there is the result.

The first product in the left top the rule is not apllied.

[attachment cleanup by admin]

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10018
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Discount rule not applyed if category isn't published
« Reply #8 on: July 17, 2012, 13:22:49 pm »
Maybe you disabled the rule in the product edit I need be access to understand this.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

DaSco

  • Beginner
  • *
  • Posts: 23
Re: Discount rule not applyed if category isn't published
« Reply #9 on: July 17, 2012, 15:27:15 pm »
I send to you a private message with data for access

DaSco

  • Beginner
  • *
  • Posts: 23
Re: Discount rule not applyed if category isn't published
« Reply #10 on: July 17, 2012, 19:33:01 pm »
No the rule is not disabled.

If I delete or disable product called "prova1", the first product will be "prova2".

The rule not apllied on product "prova2".

I repeat: "The first product in the left top the rule is not apllied."

With more products if I click on the second page of category, it's equal. The first product in the second page on left top the rule is not apllied.

I'm using a new pure installation with only joomla 2.5.6a and VM 2.0.8e.

DaSco

  • Beginner
  • *
  • Posts: 23
Re: Discount rule not applyed if category isn't published
« Reply #11 on: July 17, 2012, 22:49:01 pm »
Another way to test this error is change the order of products from ascending to descending, you will see change the price.

Link to test site:http://www.vitionline.it/NEW/index.php/shop/prova/orderDesc


DaSco

  • Beginner
  • *
  • Posts: 23
Re: Discount rule not applyed if category isn't published
« Reply #12 on: July 18, 2012, 19:18:34 pm »
Anyone can make even if you happen to you