I'm having trouble aligning the attributes to the right of the product picture.
an example can be seen here.
Help with anything else you see that doesn't look right, please inform me, and with a way to rectify it if at all possible.
I'm having trouble aligning the attributes to the right of the product picture.
an example can be seen here.
Help with anything else you see that doesn't look right, please inform me, and with a way to rectify it if at all possible.
I have a vague recollection of a mod that might be of help, but unfortunately can't find any evidence of it in the downloads section or my personal archive. It is exists, maybe somebody else will step in with a pointerOriginally Posted by Galeo Designs
Otherwise, you will need to get your hands dirty, not very, just a bit, in tpl_modules_attributes.php. Basically you would need top wrap a div around the for statement that starts on line 19/20 and ends on line 51/52. You may need to amend also the <br class="clearBoth" /> tags inserted by lines 33 and 49.
Last edited by kuroi; 28 Jun 2006 at 05:24 PM. Reason: typo
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
thank you very much.. I seem to have figured it out., still needs a bit of tweeking.
do you know of any way of getting rid of the 'Please Choose:' text?
And maybe even the 'Blackbird Starting At:' text.
any help is most appreiciative
Last edited by Galeo Designs; 28 Jun 2006 at 06:16 PM.
Your solution will work as long as you don't add more attributes. If you do they will end up underneath the image rather than aligned with the ones next to the image.
You can get rid of the "Please Choose" text by creating an override file for includes/languages/english/product_info.php and editing the following lineORCode:define('TEXT_PRODUCT_OPTIONS', 'Please Choose: ');
adding the following to your stylesheetORh3#attribsOptionsText {display:none}
deleting or commenting out the following line in your tpl_modules_attributes.php override fileCode:<h3 id="attribsOptionsText"><?php echo TEXT_PRODUCT_OPTIONS; ?></h3>
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Thank you ever so much.
The attributes will stay as they are, no problems with that.
If you can find out how to get rid of the 'starting at' text aswell that would be fantastic, but if not.. thank you again for your help.
This one's a bit more complex and so I would recommend amending the following in your override for includes/languages/english.phpAs an aside the tages that you have shortened to <br> should really be <br />. You probably won't notice any problems now (other than validation warnings) but it may cause your site to break with future versions of browsers.Code:define('TEXT_BASE_PRICE','Starting at: ');
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Thak you ever so much for your help.
I will change the tags to <br />
Thank you again
One essential item that you need to have now that you're starting to "tweak" the files and stylesheet.
Get a copy of FireFox and the Webdevelopers Toolkit. Let it help you with finding the errors we all tend to commit.
Along with the toolkit in the admin section, you'll be able to keep on top of things.
A little help with colors.
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
Something to note on the setup of your Products and Attributes ...
Currently, it appears your Products are set to products_price 0.00
Then you appear to have some, or perhaps all, marked as Priced by Attributes ...
However, then on your Attributes ... you have some marked as Do not include in base price ...
If you were to mark your Products as:
Products Price: 0.00
Priced by Attributes YES
And all Attributes as:
Include in base Price: YES
Then the lowest combination of all of your Attributes would be added together to produce the lowest price that a product can be purchased ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!