Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mergin product_info into product_listing


Darklings

Recommended Posts

Posted

Hi,

 

I've been working on this for a couple of weeks now.. but cant figure it out - i want to get rid of the product_info page - and put everything on the product_listing (including attributes, add to cart button, qtyinputbox, name, price, product_description ...)

I already tried two different solutions, but each time i come up with one thing that doesnt work (eather the attrib doesnt, or the buy now button :s)

Even tried it with an iframe and loading the (modified)product_info.php page in it....

 

Anyway - i found a lot contribs doing half of the job (for ex putting attributes on productlisting - or putting qtyinputbox on product_lisingt) but no complete solutions...

 

However i see many many sites using this kind of system...

 

Is there anyone out there that can help me (anyone who has such thing set up or made before?) or can anyone direct me to a good contrib i must have missed while searching - or anything that might be of help :s

 

Kind regards,

Tom

Even in this dark place, yes, I am afraid of my own shadow.

 

 

 

Contributions | KnowledgeBase | osCommerce 2.2 pdf

Posted

Is this even a option??

 

Using an IFrame that loads a modified product_info.php in my product_listing.php??

 

The only thing NOT working so far is my 'buy_now'-button... cause in the product_info its more 'add_to_cart' then 'buy_now' i guess... so i cant realy test if my qty_input_box and my attributes work now.. cause i can cant get the shop to add my product to my cart :s

 

But realy not sure if IFrame's are a good idea... can anyone guide me on this?? Any adivese?? Should I just drop it and try to work the other way around?? Like just adding everything to my product_listing?

 

Kind Regards,

Tom

Even in this dark place, yes, I am afraid of my own shadow.

 

 

 

Contributions | KnowledgeBase | osCommerce 2.2 pdf

Posted

Hi all,

 

I now got it working with my (modified) product_info.php loaded inside my (modified) product_listing.php... looking good - BUT...

 

When I click the 'buy-now' button it loads the shoppingcart (with header/column_left/column_right/footer etc) inside the IFrame.. (it is however adding my product with the given qty to my shoppingcart)

 

Can anyone pls help me in how to make it that the page doesnt load inside my IFrame but in my current browser???

 

Thank you verry much.

 

PS. the buy_now button is no regular button, its a submit from a formfield i think... normaly this would be solved with a 'target="_top"' i think - but that wont work for me.

If you need me to post my product_listing and/or product_info - just tell me.

 

Kind Regards,

Tom

Even in this dark place, yes, I am afraid of my own shadow.

 

 

 

Contributions | KnowledgeBase | osCommerce 2.2 pdf

Archived

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

×
×
  • Create New...