Hi,
I’m trying to use the Price by Quantity Threshold Fieldtype http://cartthrob.com/docs/fieldtypes/price_quantity_threshold/index.html
Once I add the fieldtype to my channel and try to add/edit a product, I get a bunch of errors.
A PHP Error was encountered
Severity: Notice
Message: Undefined index: entry_id
Filename: fieldtypes/ft.cartthrob_matrix.php
Line Number: 700A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at .../system/codeigniter/system/core/Exceptions.php:170)
Filename: libraries/Functions.php
Line Number: 770A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at .../system/codeigniter/system/core/Exceptions.php:170)
Filename: libraries/Functions.php
Line Number: 393
When I come back to the edit screen, the correct values are there. If I hit submit again, I still get the errors.
Also, when I use the tag in my template, I get the following errors.
A PHP Error was encountered
Severity: Notice
Message: Undefined property: Cartthrob_price_quantity_thresholds_ft::$prefix_only
Filename: fieldtypes/ft.cartthrob_matrix.php
Line Number: 615A PHP Error was encountered
Severity: Notice
Message: Undefined property: Cartthrob_price_quantity_thresholds_ft::$prefix_only
Filename: fieldtypes/ft.cartthrob_matrix.php
Line Number: 615A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at .../system/codeigniter/system/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 409Fatal error: ob_start() [ref.outcontrol]: Cannot use output buffering in output buffering display handlers in .../system/codeigniter/system/core/Exceptions.php on line 166
Thanks
