Coupons extrafields for price attributes

12.11.2012 12:20
#1
Thunn
Joomshopping forum user no avatar
Name: Thu
17.09.2012
Posts: 10
Quote
Coupons extrafields for price attributes

Hello,
Does this "Coupons extrafields" apply to original price and product price attribute too?
Coupons extrafields for price attributes


Joomla: 2.5.x
JoomShopping: 3.7.2
PHP: 5.4
 
12.11.2012 13:51
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Coupons extrafields for price attributes

Do not understand the question.
What have you done?

 
12.11.2012 14:27
#3
Thunn
Joomshopping forum user no avatar
Name: Thu
17.09.2012
Posts: 10
Quote
Aw: Coupons extrafields for price attributes

I mean I have many price in the "Attribute" tab. And when I checkout (in my current site), it use that attribute price. So I want to know when I checkout (using attribute price), then I want to know if Coupons ExtraField work with it?

 
12.11.2012 15:10
#4
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Coupons extrafields for price attributes

Yes.

 
12.11.2012 15:32
#5
Thunn
Joomshopping forum user no avatar
Name: Thu
17.09.2012
Posts: 10
Quote
Aw: Coupons extrafields for price attributes

Thank you, then I will buy it now :)

 
12.11.2012 21:13
#6
Thunn
Joomshopping forum user no avatar
Name: Thu
17.09.2012
Posts: 10
Quote
Aw: Coupons extrafields for price attributes

PHP Catchable fatal error:
Object of class stdClass could not be converted to string in
/home/xxxxx/domains/xxxx.com/public_html/plugins/jshoppingcheckout/extrascoupon/extrascoupon.php on line 98

I got this error while add coupon code in shopping cart using "JoomShopping_addon_coupons_extrafields_1.3.2.zip"

Pls check it.

 
12.11.2012 21:48
#7
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Coupons extrafields for price attributes

Joomshopping bug

change file:

components\com_jshopping\tables\product.php

change function getCategories

to

function getCategories($type_result = 0){
if (!isset($this->product_categories)){
$db = JFactory::getDBO();
$query = "SELECT * FROM `#__jshopping_products_to_categories` WHERE product_id='".$db->escape($this->product_id)."'";
$db->setQuery($query);
$this->product_categories = $db->loadObjectList();
}
if ($type_result==1){
$cats = array();
foreach($this->product_categories as $v){
$cats[] = $v->category_id;
}
return $cats;
}else{
return $this->product_categories;
}
}


 
13.11.2012 03:12
#8
Thunn
Joomshopping forum user no avatar
Name: Thu
17.09.2012
Posts: 10
Quote
Aw: Coupons extrafields for price attributes

Thank you, it worked.

what happen when I enter 2 coupon code (difference % of discount)?
Let say code01 has discount of 10%
Code50 has discount of 50%

Then how system process when I use 2 coupon codes in one checkout?

Thanks.

 
13.11.2012 07:46
#9
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Coupons extrafields for price attributes

not possible
1 order - 1 coupon.

 
15.11.2012 19:39
#10
Thunn
Joomshopping forum user no avatar
Name: Thu
17.09.2012
Posts: 10
Quote
Aw: Coupons extrafields for price attributes

Thanks.
I'm having a problem with this:
Product01 has VAT=10%
Product02 has VAT=15%
product03 has VAT= 5%

Discount code D10 which has 10% of discount.
Admin checked to have "VAT tax calculate after discount".

So how the system work? I'm getting wrong calculation.

Thank you.

 
15.11.2012 21:05
#11
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Coupons extrafields for price attributes

Example?

 
18.11.2012 10:54
#12
Thunn
Joomshopping forum user no avatar
Name: Thu
17.09.2012
Posts: 10
Quote
Aw: Coupons extrafields for price attributes

Pls check attached file. I don't know how the taxt calculated.

In the screenshot,
the TAX of hosting1 is 10%.
the TAX of hosting2 is 5%.
Discount code (for hosting1, hosting2): 10%.

TAX of domain.vn is 0%, and this product does not has discount.

Thanks.
Aw: Coupons extrafields for price attributes

 
19.11.2012 08:19
#13
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Coupons extrafields for price attributes

1. discount for all product.
2. calcutate tax.

 
19.11.2012 11:48
#14
Thunn
Joomshopping forum user no avatar
Name: Thu
17.09.2012
Posts: 10
Quote
Aw: Coupons extrafields for price attributes

I don't think so. I think I have setup for only 2 product has discount (hosting1, hosting2)
If apply to all, it's has default in JoomShopping already.

Your extesion is allowing to set discount for each product/category.
I need you to explain about the TAX calculation please. I don't understand this number:
20 797.20 EUR

Thank you.


Letzte Ă„nderung: 19.11.2012 11:49
 
19.11.2012 12:22
#15
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Coupons extrafields for price attributes

73000 = 4.67948...% discount

240000 - discount = xxx (incl tax 20797.20)


Letzte Ă„nderung: 19.11.2012 12:24
 
21.11.2012 17:16
#16
Thunn
Joomshopping forum user no avatar
Name: Thu
17.09.2012
Posts: 10
Quote
Aw: Coupons extrafields for price attributes

Aw: Coupons extrafields for price attributes
73000 = 4.67948...% discount
240000 - discount = xxx (incl tax 20797.20)

=>Sorry I'm new to this.
Can you tell me more clearly?
How can you have this number: 240000

Can you just tell in particular situation, my situation so I can understand it better.

Thanks.

 
21.11.2012 18:58
#17
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Coupons extrafields for price attributes

240000 - price hosting1

 
Copyrights MAXXmarketing GmbH. All Rights Reserved