Announcement

Collapse
No announcement yet.

code in product short description

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    code in product short description

    Is it ok to put code for an image in the General>Short Description field of a product?

    I want to show a manufacturer's logo against some products (but not all) on one page; by adding the image code next to the product short description text e.g.

    Code:
    Create Square basin !!<<img align="right" src="Images\Bathrooms\twyford_logo.jpg">>!!
    Or should I include the logo in the product image?
    Or something else?
    Regards,

    Keith

    Central Heating Supplies | Life Insurance Quotes | Be Modern Orlando Electric Fires | Grant Boilers | Honeywell Heating Controls | Worcester Bosch Oil Boilers | Oil Boilers

    #2
    You would be better off creating a custom variable at product level and adding that into your product layout where you want it to be with blockifs around it to only show it if not null. You can the add an image on any products that you require.

    Comment


      #3
      You should have a placeholder for it in your product layout which displays a logo if one is defined in a variable which you would set up at section/product level and use the 'use parent' option. You should be doing this globally via your layout, not individually per product, that is a truly awful way of doing it.

      Alternatively create a layout for each manufacturer with the logo already in there, that's a half way house. You would just select each layout on each product according to which logo you want to show. Whatever you do, do not use your method, that's working against the software not with it.

      Comment


        #4
        Thanks both. I thought I was on the wrong track, hence my post. I had a quick look at setting up a variable. It looks like I would need a variable for each of my manufacturers logos. Is that right? Variable defs obviously new to me!
        Regards,

        Keith

        Central Heating Supplies | Life Insurance Quotes | Be Modern Orlando Electric Fires | Grant Boilers | Honeywell Heating Controls | Worcester Bosch Oil Boilers | Oil Boilers

        Comment


          #5
          You only need one variable.

          If your products are in sections by manufacturer you need one variable which you would set to the name of that manufacturers logo image file at section level.

          If manufacturers are mixed and matched on a page then the variable may need to be set at product level.
          Bill
          www.egyptianwonders.co.uk
          Text directoryWorldwide Actinic(TM) shops
          BC Ness Solutions Support services, custom software
          Registered Microsoft™ Partner (ISV)
          VoIP UK: 0131 208 0605
          Located: Alexandria, EGYPT

          Comment


            #6
            If you only have a small number of manufacturers, you could create a variable "ManufacturerLogo" of type List of Choices and set it's Values to the name of each image. Keep these images (give them meaningful names) in your Site folder and add code into your Product Layout like

            Code:
            <img src="<actinic:variable name="ManufacturerLogo" />" width=50 height=50/>
            Now in your Prodcut Details, you'll get a nice drop-down list of logos to choose between.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              Thanks guys, that worked a treat.
              Regards,

              Keith

              Central Heating Supplies | Life Insurance Quotes | Be Modern Orlando Electric Fires | Grant Boilers | Honeywell Heating Controls | Worcester Bosch Oil Boilers | Oil Boilers

              Comment

              Working...
              X