Hi, i had no luck with this, but needs to fix. Here is question in other post http://www.prestasho...ot_showing_help
I am looking for someone to get this fixed..your offers?
I haven't tested this, but it should work just fine...
In /modules/gcheckout/gcheckout.php
Change line # 131
From
To{if isset($product.attributes)} - {$product.attributes}{/if}
Let me know how it goes....
If it works fine, feel free to send a donation on my site ;)
In /modules/gcheckout/gcheckout.php
Change line # 131
From
$googleCart->AddItem(new GoogleItem(utf8_decode($product['name']), utf8_decode($product['description_short']), intval($product['quantity']), number_format(Tools::convertPrice($product['price_wt'], $currency), 2, '.', '')));
To{if isset($product.attributes)} - {$product.attributes}{/if}
$googleCart->AddItem(new GoogleItem(utf8_decode($product['name'].($product['attributes']?' - '.$product['attributes']:''))), utf8_decode($product['description_short']), intval($product['quantity']), number_format(Tools::convertPrice($product['price_wt'], $currency), 2, '.', '')));
Let me know how it goes....
If it works fine, feel free to send a donation on my site ;)
it gives me error code in the back office when i hit payments tab...tells me invalid code line 131 ... Hmm... weird..how about other ppl, why they dont have this problem?
From 1265917699:
it gives me error code in the back office when i hit payments tab...tells me invalid code line 131 ... Hmm... weird..how about other ppl, why they dont have this problem?
Sorry, I had an extra ) in there
Here is the correct code.
$googleCart->AddItem(new GoogleItem(utf8_decode($product['name'].($product['attributes']?' - '.$product['attributes']:'')), utf8_decode($product['description_short']), intval($product['quantity']), number_format(Tools::convertPrice($product['price_wt'], $currency), 2, '.', '')));




Back to top









