Announcement

Collapse
No announcement yet.

Including prices in section description

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

    Including prices in section description

    Hi,
    I have made a table in html in the section description box, it contains static info on products in that section,it's plasma tv's, so the size weight and model number is not going to change,

    however...and this is the tricky bit...i need to include the price, and that does change,

    so does anyone know a way of pulling the price from the price field of each product and showing them in the section description?

    Any advice...or a firm shove in the right direction would be great.

    Marv.

    #2
    Hmmm. With the way you are doing it, there is no way to automatically bring the product price data into the section description.

    There have been a few fixes knocking around where you make the product prices available as javascript variables and then refer to these javascript variables in your embedded HTML. THe main example of that is - http://community.actinic.com/showthr...ght=javascript

    But then, you want your prices appearing on a different page.

    The only thing I can suggest is use custom properties to create the product prices as variables that can be used anywhere in your store.

    What you need to do is go to 'Advanced | Custom Properties' and create a different custom property for every product in your store. You can then define a value for these in 'Design Options | Site Defaults' - the value being the price of each product.

    Then, whenever you change a price - you have to change it both for the product and also in 'Design Options | SIte Defaults'.

    These values are available to be used in any template anywhere in the store - but sadly they cannot be pulled in via embedded HTML so you would need to re-think your design a little.

    Comment


      #3
      Thanks for replying,
      i want to avoid having to change the price in more than one place,
      (user error and all that) but i guess it's like that and that's the way it is.

      Thanks anyway.

      Marv.

      Comment

      Working...
      X