Results 1 to 8 of 8

Static/Dynamic properties/fields

This is a discussion on Static/Dynamic properties/fields within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi folks, firstly let me say I'm pretty new at OSC , but I've got an interesting problem for you ...

      
  1. #1
    New Member
    Join Date
    Jan 2005
    Posts
    6
    Rep Power
    0


    Default Static/Dynamic properties/fields

    Hi folks, firstly let me say I'm pretty new at OSC, but I've got an interesting problem for you all.

    Now, I am setting up a site that sells things in frames.. Now, some times the frames are fixed size (and I guess this could go in the description) and other times the size is user selectable so to speak.

    Any idea what the best way to handle this is? I've looked in the contrib area and found out how to add fields, so could add a width/height field there, and have found the contrib on static attributes that looks like it might do the job too, but what is best? Any ideas please?

    Thanks folks.

    Peter.

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default RE: Static/Dynamic properties/fields

    Why not just add an attribute to the product that has user selectable frames?

    Example:

    Product-X $5.00

    Selectable frame sizes 5x7 +$5.00 , 8x10 +$8.00, 11x14 + $10.00

    Just go to the product attributes and create the Product option with the above values. Attach it to the product. Done.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Jan 2005
    Posts
    6
    Rep Power
    0


    Default RE: Static/Dynamic properties/fields

    Thanks Michael,

    that's exactly what I'll do for the ones that have variable sizes that the user can sellect.

    My problem is that some of the items have a fixed size and the client has no choice in the matter. For these ones, what I want to do is show the fixed size and hide the attribute (if that makes sence). Seems to me that in this case I need a property not an attribute.

    Any ideas how I can have both of these situations working together?

    Ta.

    Peter.

  4. #4
    Active Member
    Join Date
    Oct 2004
    Posts
    215
    Rep Power
    8


    Default

    attributes are what you want.

    Make a category called let's say 'frame size' of type 'radio button'

    then make an attribute, say '5x7' of type frame size' and another '10x14' of type 'frame size'.

    Then go to your attributes manager, select the product you want to have attributes for, select the attributes, set the prices, and there ya go!

  5. #5
    Active Member
    Join Date
    Oct 2004
    Posts
    215
    Rep Power
    8


    Default

    If you want to see a bunch of the features in action, take a look at this product on my site. It has a bunch of features on it.

    Prism Prophecy

  6. #6
    New Member
    Join Date
    Jan 2005
    Posts
    6
    Rep Power
    0


    Default

    OK, so it seems that attributes are the answer, now the problem I have is that I'm using the basic OSC package (and looks like that might have been a mistake) but there is no mention of attribute types. I've looked on contributions for radio button and attribute type, but can't find anything. Any hint as to where this is?

    Ta.

    Peter.

  7. #7
    Active Member
    Join Date
    Oct 2004
    Posts
    215
    Rep Power
    8


    Default

    Option Type Feature v1.6
    New Attribute Manager 4b

  8. #8
    New Member
    Join Date
    Jan 2005
    Posts
    6
    Rep Power
    0


    Default

    Thanks for this. I managed to get Option Type Feature installed OK, but I'm having some problems with New Attribute Manager (or atleast the add_check part of it anyway). The lines to edit don't seem to be in the files so not sure about this one.

    Anyway, another question for you. If I have a heap of options (and I mean a heap) that I want the client to check, but have no impact on the cost, what's the best way to handle these. Attributes seems to be overkill here and would be a real pain to setup each one with a zero value for hundreds of products. Is there a better way. I just want the order to show the selections basically.

    Ta.

    Peter.

Similar Threads

  1. WYSIWYG Editor with New Static Pages
    By jbanda in forum osCmax v2 Customization/Mods
    Replies: 7
    Last Post: 06-26-2006, 10:04 AM
  2. Added a new static page
    By countingsheep in forum osCmax v2 Customization/Mods
    Replies: 4
    Last Post: 05-17-2006, 09:23 PM
  3. CSS Properties?
    By inetmaster in forum osCommerce 2.2 Modification Help
    Replies: 5
    Last Post: 05-23-2005, 04:28 PM
  4. what pages does the static.tpl.php control?
    By Kristine in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 03-26-2004, 06:05 PM
  5. Static Page
    By neo14706 in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 04-24-2003, 06:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •