Core Commerce Add On - Formatting Product List Layout
Permalink
Hi
I have two issues one irritates me the other needs sorting out.
1) IMG tag
Where is the code that produces the IMG tag in C5 for the Product and Product Listing blocks? I cannot find it.
I want to edit it so it produces HTML mark up with the back slash ie:
<img src="yaddadda" />
NOT
<img src="yaddadda">
(I also want to add the product name as an Alt tag but that is a fait acomplis)
2)
Why is everything in these blocks laid out using (TABLES) and (DIV tags without a Class or Instance)? One of the reasons I hated using Zencart was the reliance on TABLES for laying out content. This mix up makes styling tweaks really difficult, a <div> tag without a reference is more problematic to deal with, but TABLES, these are horrible. Simple tweaks require a nausiating plough through the code and I am sure it would be easier with some cleanly referenced Div tags?
POINT 2 IS JUST A WHINGE AND I DO NOT EXPECT ANYTHING TO BE DONE ABOUT IT, BECUASE IT IS WHAT IT IS.
POINT 1 would be nice to have an answer, as I cannot make my site W3C compliant without finding this nugget!
I have two issues one irritates me the other needs sorting out.
1) IMG tag
Where is the code that produces the IMG tag in C5 for the Product and Product Listing blocks? I cannot find it.
I want to edit it so it produces HTML mark up with the back slash ie:
<img src="yaddadda" />
NOT
<img src="yaddadda">
(I also want to add the product name as an Alt tag but that is a fait acomplis)
2)
Why is everything in these blocks laid out using (TABLES) and (DIV tags without a Class or Instance)? One of the reasons I hated using Zencart was the reliance on TABLES for laying out content. This mix up makes styling tweaks really difficult, a <div> tag without a reference is more problematic to deal with, but TABLES, these are horrible. Simple tweaks require a nausiating plough through the code and I am sure it would be easier with some cleanly referenced Div tags?
POINT 2 IS JUST A WHINGE AND I DO NOT EXPECT ANYTHING TO BE DONE ABOUT IT, BECUASE IT IS WHAT IT IS.
POINT 1 would be nice to have an answer, as I cannot make my site W3C compliant without finding this nugget!
The details of products are several levels down in nested elements. Have a look through the package elements dir of the package.
For anything more specific, you should ask on the eCommerce addon support area.
http://www.concrete5.org/marketplace/addons/ecommerce/...
- amongst the links on the right.