"Add price" not working

03.12.2012 18:17
#1
Alistair
Joomshopping forum user no avatar
Name: Alistair
01.08.2012
Сообщения: 11
Quote
"Add price" not working

The "Add price" (to set discounts on larger quantities of the same item) in the 'price per consignment' option in the product details is not working when clicking it, no matter which browser I use, any idea what could it be?

 
03.12.2012 21:27
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25939
Quote
Aw: "Add price" not working

URL?
admin login?
version?
change?

 
04.12.2012 10:44
#3
Alistair
Joomshopping forum user no avatar
Name: Alistair
01.08.2012
Сообщения: 11
Quote
Aw: "Add price" not working

Unfortunately I cannot give you URL and admin login as I'm working locally. Using xampp 1.7.2, the version of Joomshopping is 3.12.1

It was working a couple of days ago, maybe I have inadvertedly clicked on something which makes it inaccessible, I just wouldn't know what.. if I click "delete" it does work, only it won't let me "Add price" when clicking it.

 
04.12.2012 11:07
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25939
Quote
Aw: "Add price" not working

Brouser?
Try use other brouser.

 
04.12.2012 14:13
#5
Alistair
Joomshopping forum user no avatar
Name: Alistair
01.08.2012
Сообщения: 11
Quote
Aw: "Add price" not working

It's the first thing I though too, so I tried with 3 different browsers (Firefox, Chrome, and Opera), same result I'm afraid, clicking 'add price' doesn't lead to anything.

 
04.12.2012 14:40
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25939
Quote
Aw: "Add price" not working

Update joomshopping?
Use firefox+firebug, see errors.

 
04.12.2012 16:15
#7
Alistair
Joomshopping forum user no avatar
Name: Alistair
01.08.2012
Сообщения: 11
Quote
Aw: "Add price" not working

As I mentioned joomshopping is updated to latest version.

Firebug says:

ReferenceError: add_price_num is not defined

add_price_num++;


or

ReferenceError: config_product_price_qty_discount is not defined

if (config_product_price_qty_discount==1)


The field I've written are from 2 to 5 items discount 20%

 
04.12.2012 16:40
#8
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25939
Quote
Aw: "Add price" not working

Open file
administrator\components\com_jshopping\views\product_edit\tmpl\info.php



<script type="text/javascript">
<?php
print "var add_price_num = $i;";
print "var config_product_price_qty_discount = ".$jshopConfig->product_price_qty_discount.";";
?>
</script>

Code exist?

 
04.12.2012 17:00
#9
Alistair
Joomshopping forum user no avatar
Name: Alistair
01.08.2012
Сообщения: 11
Quote
Aw: "Add price" not working

Yes that code does exist, line 112 to 117.

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.