PDA

View Full Version : Product Attributes - Option Type Feature



michael_s
05-07-2008, 05:00 AM
just to tell that this solution work in my osC_rc2a

By - Dhananjaya 13 Jan 2008

Attributes disappearing when quantity is updated in shopping cart.

Thanks to Bob O for solving the problem of attributes disappearing when quantity is updated in shopping cart. See…
http://forums.oscommerce.com/index.php?s=&showtopic=57259&view=findpost&p=1158833

The following instruction in Product Attributes - Option Type Feature (OTF) v. 2.02
Manual Installation breaks the store. Uncomment that line to fix it.


Open catalog/shopping_cart.php

----------------------
FIND: (around line 81)

echo tep_draw_hidden_field('id[' . $products[$i]['id'] . '][' . $option . ']', $value);

REPLACE with (comment out)

// BOF Product Attributes - Option Type Feature (contribution 160)
//echo tep_draw_hidden_field('id[' . $products[$i]['id'] . '][' . $option . ']', $value);
// EOF Product Attributes - Option Type Feature (contribution 160)


note: file is empty

More... (http://addons.oscommerce.com/info/160)