Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Bundled Product - More items


Guest

Recommended Posts

I have sucessfully installed the bundled products contribution and it's great - if the item you want to bundle is comprised of less than six items. I dug through the code and found these lines:

 

catalog/admin/categories.php

 

for ($i=0, $n=6; $i<$n; $i++) {

 

and

 

for (var n=0;n<6;n++) {

 

which i changed to n=12, and n<12

 

This gave me the additional input boxes i needed, but for whatever reason, only 6 of the bundled items save. Any ideas where to go next?

Link to comment
Share on other sites

  • 1 month later...

as for more than 6 subproducts:

 

in categories.php, find

CODE

function fillCodes() {

for (var n=0;n<6;n++) {

 

 

and change the "6".

 

then find all occurences of (there are two) and change the 6

CODE

 

for ($i=0, $n=6; $i<$n; $i++) {

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.

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