Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

binderben

Members
  • Content count

    5
  • Joined

  • Last visited

Posts posted by binderben


  1. Is it possible in this contribution to embed an attribute within a attribute? say if there were two radio buttons

     

    • Upload image
    • Or enter web URL

     

    If the user were to select 'upload image' an upload attribute would come into effect or if they were to select 'or enter web URL' a text box attribute would be revealed?


  2. Hi,

     

    I tried to install the contribution: 'quantity price breaks per product' on a cart with only a single other contribution: 'option types v2'. The problem is in the manual installation instructions it asks me to:

     

    In application_top.php, Find (around line 361 [around line 368 in edited file]):

    $cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $HTTP_POST_VARS['id']))+1, $HTTP_POST_VARS['id']);

     

    and replace with

    //BOF qpbpp

    //$cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $HTTP_POST_VARS['id']))+1, $HTTP_POST_VARS['id']);

    $cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $HTTP_POST_VARS['id'])) + $HTTP_POST_VARS['cart_quantity'], $HTTP_POST_VARS['id']);

    //EOF qpbpp

     

    Because of the optiontypesV2 this line has been changed to something else. I have been trying for hours to integrate the changes to no avail.

     

    If someone could look at what I am doing wrong that would be great. Here is my application_top.php page: http://pastebin.com/m25fefa54

×