Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] Individual boxes for products in central modules - cajas individuales para productos de modulos centrales


nicko107

Recommended Posts

  • 3 weeks later...
  • Replies 76
  • Created
  • Last Reply

Top Posters In This Topic

Hi nicko . just want to say THANKS .

 

It is the contribution that I looked for. Your installation text is well prepared too. it is easy to follow. The contribution works fine without any problem. ( I will try other adds on that you included in the contribution.) Besides, your Demo site gives me various ideas about what the contributions could do.

 

THANKS for your effort.

Link to comment
Share on other sites

hi nicko

 

i have a question.

 

Individual box has not applied to the new products listing . Other areas look fine , no problem. I've read the install text again but have no clue. Am I missing something ?

 

newproduct.jpg

 

appreciate if you may help.

 

Regards

Jason

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
hi there

i installed all of the contries but my new products box looks weird

have a look at http://www.wierook-geuren.nl

anybody can give me some info on this probllem

thanks danta67

 

 

This is the precise problem I am having. Anyone find a solution? I also did a clean swap from the "new shop only" as I have very few modifications and still got the same result. Could it be screen resoltion or something silly like that?????

Any help would be greatly appreciated

 

Terrielee

Link to comment
Share on other sites

  • 1 month later...

Hi,

Thanks for this great customisable contribution!

Only problem i am having is the top.gif image not showing in the infobox (modules/new_products.php and modules/featured.php), so my boxes are missing the top border image.

My shop is bts enabled, if this might help...

Thanks for your time.

Link to comment
Share on other sites

Hi,

Thanks for this great customisable contribution!

Only problem i am having is the top.gif image not showing in the infobox (modules/new_products.php and modules/featured.php), so my boxes are missing the top border image.

My shop is bts enabled, if this might help...

Thanks for your time.

 

...ok, fixed. css issue, thanks.

Link to comment
Share on other sites

  • 3 weeks later...

Hello Nicko107

congratulations for your contrib

I've installed it on my store, but I've a big problem with the pages lenght.

I'd like to insert a scroll bar in central pages. It's possible??

for example www.centroculus.it/catalog/faq.php

Best regard

pasquale

Link to comment
Share on other sites

  • 2 weeks later...

I uploaded the contribution and I like it. One problem though, I can't figure out why there's no products in the new products infox in the middle.

 

I've doubled check my install and get the same result. Maybe something minor that I overlooked. Has anyone experienced this problem? I need your assistance. Thank you.

Link to comment
Share on other sites

  • 2 weeks later...

Hi I have a problem with this, in the file new_product.php. I am in step 5.5 (replace table contents), and I have to replace some code for a new code.

 

The problem is that when I publish everything, it gives the following error:

 

Parse error: syntax error, unexpected $end in /xxx/catalog/includes/modules/new_products.php on line 39

 

This error is in the new code that comes in the installation.txt guide: I have only copied and pasted.. and there is something not closed properly.. I have looked into it.. but can't find it: here it is the original code y copy:

 

FIND in the same file this:

 

 

$info_box_contents[$row][$col] = array('align' => 'center',

'params' => 'class="smallText" width="33%" valign="top"',

'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br>' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])));

 

 

REPLACE:

 

 

// Find the 149 in thats second code, this define the internal height of module <img src="images/infobox_module/right.gif" width="14" height="149" />

 

$info_box_contents[$row][$col] = array('align' => 'center',

'params' => 'class="smallText" cellspacing="0" width="50%" valign="top"',

'text' => '<table width="99%" border="0" cellspacing="0" cellpadding="0">

<tr>

<td align="right" valign="bottom" bordercolor="0"><img src="images/infobox_module/upper_left.gif" width="14" height="33" /></td>

<td colspan="2" background="images/infobox_module/top.gif" class=mws_boxTop_module><a class=productTitle href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . substr($new_products['products_name'], 0, 30) . '</a></td>

<td align="left" valign="bottom"><img src="images/infobox_module/upper_right.gif" width="14" height="33" /></td>

</tr>

<tr>

<td background="images/infobox_module/left.gif" width="14"> </td>

<td align="center" class=mws_boxCenter_module><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><br> <a href="' . tep_href_link(FILENAME_PRODUCTS_NEW). '">' . tep_image(DIR_WS_LANGUAGES . $language . '/images/buttons/new_.gif', IMAGE_NEW_PRODUCT). '</a> </td>

<td class=mws_boxCenter_module2>'. strip_tags($description['products_description']) . '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, "products_id=" . $new_products["products_id"]). '"><b>' . DESCR_READ_MORE . '</b></a><br><br><a href="' . tep_href_link(FILENAME_DEFAULT, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $new_products['products_id']) . '">' . tep_image_button('cart_buy.gif', IMAGE_BUTTON_IN_CART) . '</a> <strong>' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])).'</strong></td>

<td background="images/infobox_module/right.gif" class="smallText" width="14"><img src="images/infobox_module/right.gif" width="14" height="149" /></td>

</tr>

<tr>

<td align="right" valign="top"><img src="images/infobox_module/lower_left.gif" width="14" height="12" /></td>

<td colspan="2" background="images/infobox_module/bot.gif"><img src="images/infobox_module/bot.gif" width="2" height="12" /></td>

<td align="left" valign="top" class="smallText"><img src="images/infobox_module/lower_right.gif" width="14" height="12" /></td>

</tr>

</table><br>');

 

 

Could someone help.. or post your new_products.php so I can copy the correct code.. I would appreciate a lot!

Link to comment
Share on other sites

hi, i'm having the same problem,where can I fix this ??

 

 

 

Also another problem that i have,

I also install "Product Listing in Columns Contribution" for Individual boxes for products...

And it's working great, my problem is that i not every box have the same height ...

As u can see:

problem.jpg

 

What can I do in order to fix it?

 

thx,

holyone.

Link to comment
Share on other sites

  • 1 month later...
hi nicko

 

i have a question.

 

Individual box has not applied to the new products listing . Other areas look fine , no problem. I've read the install text again but have no clue. Am I missing something ?

 

newproduct.jpg

 

appreciate if you may help.

 

Regards

Jason

 

I too am having a similar problem with both these pages

http://get-wireless.co.uk/dev/products_new.php

and

http://get-wireless.co.uk/dev/featured_products.php

 

Would love to be able to get this into individual boxes

 

Please help

Link to comment
Share on other sites

Been up most of the night and managed to get featured_products.php working.

still need to fix products_new.php though :(

Link to comment
Share on other sites

  • 1 month later...
Also another problem that i have,

I also install "Product Listing in Columns Contribution" for Individual boxes for products...

And it's working great, my problem is that i not every box have the same height ...

As u can see:

problem.jpg

 

What can I do in order to fix it?

 

thx,

holyone.

 

 

 

Hello,

I've got the same problem as above. As the contribution seems to be working well otherwise, I presume it is something I have done wrong in the installation (have checked and checked again). Any comments/solutions appreciated.

Edited by agcolbert
Link to comment
Share on other sites

Hello,

I've got the same problem as above. As the contribution seems to be working well otherwise, I presume it is something I have done wrong in the installation (have checked and checked again). Any comments/solutions appreciated.

 

Found the answer as detailed in the "Customization instructions to version 1.2"... either increase the size of the box to accomodate the the product description or limit the size of the product description (or switch it off).

 

Thanks if you looked.

Link to comment
Share on other sites

  • 1 month later...

Hi everybody,

 

I would like to say that this contribution is great. The display of the products in individual boxes is fabulous.

 

I installed all the addons of the contribution but I was very disappointed that it's not explained how to include it in products_new.php. That one is the only page/file which can't be modded. How could I do it ? Or can you give me some tips ?

 

I can remark that I'm not the only one having such request.

 

Many thanx in advance

 

Manu

Edited by manulut
Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

I need to add a row of 3 products for every category in my store to the main page.

 

Something like the attached image but the blank squares would have 3 products from the category listed to the left of it.

 

front.jpg

 

I apologize for not going into extensive detail but I have been up for 24 hrs and beating my head against the wall over the problem for days!

 

 

If you can help in any way . . . . . . . the beer is on me!

 

 

Thanks,

 

Snikle

Link to comment
Share on other sites

  • 3 months later...

I have a slightly different problem to everyone else

 

I'm trying to install the latest version of this contrib into a new, previously unmodified osC 2.2 RC2a store

 

Step 5.4 says to find in catalog/includes/modules/new_products.php the following code -

$new_products['products_name'] = tep_get_products_name($new_products['products_id']);

 

Problem is, that code does not exist in this file in RC2a

 

As the add-in to go after it draws alsorts of stuff from the database, it's obviously contrib-critical

 

Anyone got a clue for an updated location for this code?

 

Heeeeeellllllllppppppp :huh:

Wearing a seatbelt prevents head injuries when the computer crashes - - - Yeah Right!!! - not in this office.

Link to comment
Share on other sites

Hmmm - that's interesting, the missing line of code in my last post IS present in the RC1 file version, but not in the RC2 or RC2a file versions

 

Has anyone got a clue how to proceed on this?

 

Please?

 

Pretty please?

Wearing a seatbelt prevents head injuries when the computer crashes - - - Yeah Right!!! - not in this office.

Link to comment
Share on other sites

  • 8 months later...

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