[TYPO3-commerce] CSS

Szabolcs Feczak sub at symsol.com.au
Tue Aug 21 11:23:56 CEST 2007



> first of all, the template output is unformatted 
> I found a reference to the file
> commerce/res/css/commerce.css
> in static/setup.txt but this file does not exist and
> I could not find it with google either ...
> 
Sorry, it was missing in SVN, revistion 6275 should do it.

Thanks


> 
> 
> This how it looks like now
> http://burwell.symsol.com.au/index.php?id=78 
> but the image is not displayed, however I set it up on the product detail ....


OK 

after a couple of hours of debugging I found the followings

1. problem : product  image not displayed on detailed view

solution:

--- lib/class.tx_commerce_pibase.php    2007-08-21 19:19:05.000000000 +1000
+++ lib/class.tx_commerce_pibase.php.new        2007-08-21 19:11:25.000000000 +1000
@@ -1008,7 +1008,7 @@
                        case 'IMAGE' :
                                if (is_string($value) && !empty($value)) {

-                                       $TSconf['file'] = $this->imgFolder.$oneImage;
+                                       $TSconf['file'] = $this->imgFolder.$value;
                                        $output .= $this->cObj->IMAGE($TSconf);
                                }
                        break;
@@ -1493,4 +1493,4 @@
 if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/commerce/lib/class.tx_commerce_pibase.php'])    {
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/commerce/lib/class.tx_commerce_pibase.php']);
 }
-?>
\ No newline at end of file
+?>



2. problem teaser image not displayed on category listing

solution:

--- static/setup.txt    2007-08-21 19:14:13.000000000 +1000
+++ static/setup.txt.new        2007-08-21 19:13:16.000000000 +1000
@@ -120,10 +120,13 @@

                                        teaser < lib.tx_commerce.stdField_RTE
                                        teaserimages =IMAGE
-                                       teaserimages {
-                                               file.import.current = 1
-                                       maxW = 150
-                                       }
+                                       teaserimages {
+                                           defaultImgConf {
+                                                       file.import.current = 1
+                                               }
+                                                       file.maxW = 150
+                                               }
+                                       }

                        }




 
> How can I make it to display ? 
> images do not display even under detailed view if I click on the product .....
> We have updated the complete Templates, so maybe some marker you are 
> currently using in your templates are missing. Please compare them with 
> templates fomr SVN.

I use the default at the moment


can you please advise with my last problem:

"
When I finish with checkout I receive (a) quite vague message(s):

The transaction was completed successfully Your email address is not valid. Please try again. Thank you for your order. Your shopteam

However I put a valid email address in and I got notification about the order, so if it was successful why do I get this message, moreover
why do I get it at the same time when it says succsessfull
"


Thanks




Kind regards:

Szabolcs Feczak "Sub"
Symmetric Solutions



More information about the TYPO3-project-commerce mailing list