Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Attributes Price Update


Andge

Recommended Posts

Hello,

 

I need a contribution which would allow me to post say: shirts, all different sizes and prices, in one listing.

The customer would use the drop down box to choose the size they want, and the price would be updated automatically, rather than me post the "same" shirt three different times.

 

Which one would you most recommend?

 

 

Thanks

Andrew.

Link to comment
Share on other sites

Maybe I'm missing something here in your question.

 

Can't you just add via the standard product administration area an "attribute" called size and set the price accordingly for each of the shirts?

 

Tom

Edited by OceanRanch
Link to comment
Share on other sites

Maybe I'm missing something here in your question.

 

Can't you just add via the standard product administration area an "attribute" called size and set the price accordingly for each of the shirts?

 

Tom

 

Yeah but the price won't update. Remember that the "shirts" cost different amounts.

 

Andrew

Link to comment
Share on other sites

Product - Button Down Classic Shirt (price $25.00)

 

Product Options (add 3 via product attributes)

 

Small +0 (product price will be 25)

Medium +1.99 (product price will update and be 26.99)

Large +2.99 (product price will update and be 27.99)

 

Of course you will need to create different "sets" of attributes for other shirts unless they also have the same price differential then just reuse thos on another shirt.

 

There are other issues regarding sorting of the attributes (there is no sort in the standard out of the box code), so the drop downs will be random unless you add a sort by name in the query. If you need this I can give it to you. Or you can install the sort contribution.

 

http://www.oscommerce.com/community/contributions,1690

 

HTH

Tom

Link to comment
Share on other sites

Product - Button Down Classic Shirt (price $25.00)

 

Product Options (add 3 via product attributes)

 

Small +0  (product price will be 25)

Medium +1.99 (product price will update and be 26.99)

Large +2.99 (product price will update and be 27.99)

 

Of course you will need to create different "sets" of attributes for other shirts unless they also have the same price differential then just reuse thos on another shirt.

 

There are other issues regarding sorting of the attributes (there is no sort in the standard out of the box code), so the drop downs will be random unless you add a sort by name in the query.  If you need this I can give it to you. Or you can install the sort contribution.

 

http://www.oscommerce.com/community/contributions,1690

 

HTH

Tom

 

 

Really? Wow, I never knew that! I wasted so much time. Once I was considering trying it but for some reason didn't think it'd work. Wow, I'll go try it, thank you.

 

Yes if you could send the "sort by name in the query" I'd be thankful.

 

Many thanks.

Andrew.

Link to comment
Share on other sites

See my post#9 in the following thread. You might also want to consider installing the "Must select" contribution code referencd in this thread. It will insure that your customer selects one of the options rather than just taking the default.

 

http://www.oscommerce.com/forums/index.php?showtopic=132800&hl=

 

HTH

Tom

Link to comment
Share on other sites

See my post#9 in the following thread. You might also want to consider installing the "Must select" contribution code referencd in this thread. It will insure that your customer selects one of the options rather than just taking the default.

 

http://www.oscommerce.com/forums/index.php?showtopic=132800&hl=

 

HTH

Tom

 

Ok, thanks.

 

Andrew.

Link to comment
Share on other sites

Ok, thanks.

 

Andrew.

 

Hi,

 

I'm installing the contribution, I put in everything that I know of but am getting this:

 

Warning: main(includes/html_title.php): failed to open stream: No such file or directory in /home/amurraye/public_html/product_info.php on line 24

 

Warning: main(includes/html_title.php): failed to open stream: No such file or directory in /home/amurraye/public_html/product_info.php on line 24

 

Fatal error: main(): Failed opening required 'includes/html_title.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/amurraye/public_html/product_info.php on line 24

 

What's missing?

 

Thanks

Andrew.

Link to comment
Share on other sites

What contribution are you installing. If its the "must select" contribution, then it only modifies standard oscommerce files. I'm not familar with html_title.php unless it to is from a contrib like STS or BTS.

 

Tom

 

It's the one you linked me to, this one:

 

http://www.oscommerce.com/community/contributions,1690

 

I see that persons were having the same problem I am, but the solution hasn't worked for me.

 

Andrew.

Link to comment
Share on other sites

If I were you I'd back out the contrib, and just change the query to add the sort by name as I had indicated. Keep it simple. Unless you want to dig and try to "sort" the problem with the contrib.

 

Tom

 

I replaced the file with a standard file and the error's gone, now I gotta see the contribution's working if not I'll just do what you said.

 

Didn't you install this contribution?

 

Thanks

Andrew.

Link to comment
Share on other sites

I replaced the file with a standard file and the error's gone, now I gotta see the contribution's working if not I'll just do what you said.

 

Didn't you install this contribution?

 

Thanks

Andrew.

 

Ok everything's working fine and I saw the answer to my last question.

 

Thanks

Andrew.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...