Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Attributes Array how to separate?


ymhik

Recommended Posts

Hello everyone

 

in shopping_cart.php

 

there is an array that shows user attribute input, if your product has 2 text inputs , the shopping cart contents will show 2 text lines what ever the user wrote

Line 1:AAA

Line 2:BBB

 

 

$products[$i][$option]['products_options_values_name']

 

I am sure that the line above is responsible for it.

 

This is what i am trying to do, i would like to separate the array, manualy or call on specific input field

 

e.g.

 

$products[$i][$option=9]['products_options_values_name'] or something like this obviously this does not work

 

where the result is AAA

 

 

I hope i explained myself correctly, ANY HELP WOULD BE GREATLY APPRICIATED

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...