Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Displaying attribute names before pulldowns


jpipitone43

Recommended Posts

I have multiple products in my cart, and a few attributes for each products.

 

The problem I'm having is that I have attributes that are labeled differently, but the shopping cart is printing out the same title above all of the pull downs. What I want to accomplish is this:

 

"ribbon samples"

option 1

option 2

 

"t-shirt size"

small

medium

large

 

Is this possible? Can I print each attributes name as they drop down rather than seeing the same title appear above each pull down?

 

I noticed that this PHP code prints out the attributes: <?php echo TEXT_PRODUCT_OPTIONS; ?>

 

Help!!

Link to comment
Share on other sites

Nevermind! I figured it out.

 

I' just replaced <?php echo TEXT_PRODUCT_OPTIONS; ?> with <?php echo $products_options_name['products_options_name'] . ':'; ?>

 

I have multiple products in my cart, and a few attributes for each products.

 

The problem I'm having is that I have attributes that are labeled differently, but the shopping cart is printing out the same title above all of the pull downs. What I want to accomplish is this:

 

"ribbon samples"

option 1

option 2

 

"t-shirt size"

small

medium

large

 

Is this possible? Can I print each attributes name as they drop down rather than seeing the same title appear above each pull down?

 

I noticed that this PHP code prints out the attributes: <?php echo TEXT_PRODUCT_OPTIONS; ?>

 

Help!!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...