osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-08-2005, 02:18 AM
New Member
 
Join Date: Jan 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
pnunn
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 01-08-2005, 09:52 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,070
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 01-09-2005, 01:55 AM
New Member
 
Join Date: Jan 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
pnunn
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 01-09-2005, 02:16 AM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 5
groggory
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 01-09-2005, 02:20 AM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 5
groggory
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 01-09-2005, 03:21 AM
New Member
 
Join Date: Jan 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
pnunn
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 01-09-2005, 03:38 AM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 5
groggory
Default

Option Type Feature v1.6
New Attribute Manager 4b
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 01-10-2005, 03:53 AM
New Member
 
Join Date: Jan 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
pnunn
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 05:22 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax