Having a look at some of the code in the flexible attributes mod I am currently running in includes/modules/MY_TEMPLATE/attributes.php
I see there may be the possibility to double the attribute call by adding php which creates a clone of the attribute arrays, and displaying that cloned call instead of the duplicated call I am currently using, within the form_post. (does that make sense?)
This would work on all of the contact lens attributes, possibly even the quantity factors, ideally.
The attribute setup is this, everything is called from the database separately as it is, causing a lot of queries.
BC / DIA | POWER | CYL | AXIS | QUANTITY
2 BC / DIA | 2 POWER | 2 CYL | 2 AXIS | 2 QUANTITY
What I need to happen is eliminate the extra database info for the attributes right? Is there a more efficient way to approach this?
On a positive note, we have signed up with a much better host, so with tuning, this won't be that much of a problem, but is worth revising, so once we do get busy, it doesn't become a further issue.
Bookmarks