[TYPO3-commerce] Howto: link teaser image to article detail view?

Marcel Burkhalter info at internezzo.ch
Fri Oct 19 15:36:36 CEST 2007


> The answer is TypoScript. Something like:

Hi Franz

Tnx a lot for your help.
After removing your following TS line the whole things works just fine:
import = uploads/tx_commerce/

Here my testend (Commerce 0.9.3) TS Setup for linked teaser images:

# settings for product listing
plugin.tx_commerce_pi1 {
  # LIST VIEW
  listView.products.fields {
    images {
      file.maxW = 240
      file.maxH = 180

      # enable click-enlarge for article image
      imageLinkWrap < tt_content.image.20.1.imageLinkWrap
      imageLinkWrap.enable >
      imageLinkWrap.enable = 1
    }

    teaserimages >
    teaserimages = stdWrap
    teaserimages {
      cObject = IMAGE
      cObject {
        file {
          import.current = 1
          maxW = 120
          maxH = 120
        }
      }

      typolink.setCommerceValues = 1
      typolink.useCacheHash = 1
      typolink.if.isTrue.current = 1
    }
  }
}


Greetings
Marcel 




More information about the TYPO3-project-commerce mailing list