Jump to content

 

tzifman

Member Since 23 Apr 2014
Offline Last Active Jun 08 2016 08:10 AM
-----

Posts I've Made

In Topic: Smarty Variables On Checkout Complete

07 June 2016 - 02:39 PM

i tried this: 

 

category: "{$_pdata.main_category.category_id}"

 

but doesnt work


In Topic: Smarty Variables On Checkout Complete

07 June 2016 - 02:33 PM

ecom thanks 

 

i can see now category name but not id. 


In Topic: Smarty Variables On Checkout Complete

07 June 2016 - 12:25 PM

Update: 

 

Price is ok with this smarty: 

 

price: {math equation="x / y" x=$product.price y=1.24 format="%.2f"}


In Topic: Smarty Variables On Checkout Complete

07 June 2016 - 11:29 AM

Already did this but hasnt info that i need: 

 

[item_id] => 3001273677
[order_id] => 67068
[product_id] => 63544
[product_code] => V32517
[price] => 40.22
[amount] => 1
[extra] => Array
(
[product_options] => Array
(
)
[unlimited_download] => N
[no_installments_nbgdatacash] => N
[no_installments] => N
[product] => Canon Pixma iP2850 Color Inkjet Printer 8745B006AA
[company_id] => 1
[is_edp] => N
[edp_shipping] => N
[discount] => 0
[base_price] => 40.22
[stored_price] => N
)
[product] => Canon Pixma iP2850 Color Inkjet Printer 8745B006AA
[product_status] => A
[deleted_product] => 
[discount] => 0
[company_id] => 1
[base_price] => 40.22
[original_price] => 40.22
[cart_id] => 3001273677
[tax_value] => 0
[subtotal] => 40.22
[display_subtotal] => 40.22
[shipped_amount] => 0
[shipment_amount] => 1
[is_accessible] => 1
[shared_product] => 1

In Topic: Smarty Variables On Checkout Complete

07 June 2016 - 11:14 AM

ok means that is ok and i dont need to change anything.

 

Here is output: 

 

 
test("addItem", {
id: "63544"
,price: "40.22"
,quantity: "1"
,category: ""
,payout: "1"
});
 
test("addItem", {
id: "58856"
,price: "0.63"
,quantity: "6"
,category: ""
,payout: "1"
});