Jump to content
Cyperis

Product Info Page Box

Recommended Posts

@@EchoGuns - I need a little more help with the dialog popup window not appearing issue. I tried replacing product-info with the one from your download, and it does the same thing. Is .dialog a jquery base function, or something custom? I thought maybe there was a jquery UI dialog addon or something that you didn't mention in the install doc for making this work. The site is using Jquery 1.8.0 and Jquery ui 1.8.7, which are quite current. Something has to be missing...

Share this post


Link to post
Share on other sites

@@hornetnz

 

Yes the dialog boxes are jquery. The versions you listed should work. Only thing different from me and you is that Im running 1.8.23 UI on my shop. Might be something to do with MTS. I could send you my product_info.php and you can try it since it would be more compatible I would think. Let me know if you want to try.

Share this post


Link to post
Share on other sites

@@EchoGuns,

Here's something interesting...using your info file, clicking the reviews button gets me

Fatal error: Call to undefined function tep_db_query() in /.../store/product_reviews_popup.php on line 20

 

And the ask a question gets me

Warning: require(DIR_WS_LANGUAGES/FILENAME_CONTACT_US) [function.require]: failed to open stream: No such file or directory in .../store/ask_a_question_popup.php on line 43

 

Fatal error: require() [function.require]: Failed opening required 'DIR_WS_LANGUAGES/FILENAME_CONTACT_US' (include_path='.:/usr/local/lib/php-5.2.17/lib/php') in .../store/ask_a_question_popup.php on line 43

 

But using my file, they add the item to the cart and redirect me to my cart page.

And, the tell a friend button takes me to the tell a friend page (not in a popup) with both versions of the file...

Edited by hornetnz

Share this post


Link to post
Share on other sites

@@hornetnz

 

I have all the files in the root of the catalog. They are all linked from the includes/filenames.php as such. I dont have a clue why yours is not working.

Share this post


Link to post
Share on other sites

@hornetnz Do you load multiple Jquery or other scripts? All scripts that are in the product info page added by product box. Move it to the end of the product_info.php file. I think I had the same problems with those buttons

Share this post


Link to post
Share on other sites

How to make a table next to the pictures and write what I want?

See photo:

http://i268.photobucket.com/albums/jj30/cafumbira/frame_information.gif

Edited by cafumbira

Share this post


Link to post
Share on other sites

@@cafumbira

This addon does not do that functionality. You would have to add your own custom fields and edit the categories.php file as well as the product_info.php and other files.

Share this post


Link to post
Share on other sites

I still haven't been able to get the reviews button to open the dialog window. <_< Spent 3+ hours on just that this weekend trying different things and every time I get 'd is undefined' in the jquery ui dialog function, before it submits the page which ends up adding it to the cart. I was able to find the reviews div in the source code and confirmed its rendering correctly with the products review content being pulled in, but for some reason the JS doesnt want to create the dialog window. I'm beyond frustrated with this 'simple' issue. Almost ready to create a new OSC install on my other domain and only install this module to see if theres any chance of intereferance from my other addons.

Share this post


Link to post
Share on other sites

Hi!

I seem to have some kind of conflict with java and I have no idea how to solve it.

I have a simple image fade slideshow on my index page which needs some java on the "template.top" page.

This is the code:

<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="fadeSlideShow.js"></script>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('#slideshow').fadeSlideShow();
});
</script>

If I remove that code, then this contribution works fine (apart from a problem with the image! I have messed up somewhere, but that's another issue!!).

But if that code stays there, then the product page gets totally messed up. Here's the page with all java code: http://dory.gr/2013ff/product_info.php?products_id=29

Any ideas??

 

P.S. I'm a mere mortal (not a programmer or anything), so please forgive me if this seems like a silly question.

Share this post


Link to post
Share on other sites

Fixed it! I had added this (while adding some code for a slide/fade thingy)

<script type="text/javascript" src="jquery.js"></script>

to "template_top.php" which I shouldn't have!

Share this post


Link to post
Share on other sites

Hello

 

I installed the contribution and it works perfect.

 

I have added a Best Offer popup button also, I just copied the ask a question files and change to best offer. I also added it to the database.

 

It works fine except it wont add the product to the header.

 

If I change the postion of the last 2, then 1 or the other will show the product in the header but not both. So in short if there is more than 3 buttons only the first 3 will show the product in the header.

 

<?php echo embedded_href_replace($product_info['products_description']); ?>

 

<div id="reviews" title="<?php

echo 'Reviews for ';

echo tep_get_products_name($product_info['products_id']); ?>">

<?php include(FILENAME_REVIEWS_POPUP); ?>

</div></form>

 

<div id="tellafriend" title="<?php

echo 'Tell a Friend About ';

echo tep_get_products_name($product_info['products_id']); ?>">

<?php include(FILENAME_TELL_A_FRIEND_POPUP); ?>

</div></form>

 

<div id="makebestoffer" title="<?php

echo 'Best Offer Request for ';

echo tep_get_products_name($product_info['products_id']); ?>">

<?php include(FILENAME_MAKE_BEST_OFFER_POPUP); ?>

</div></form>

 

<div id="askaquestion" title="<?php

echo 'Question Request for ';

echo tep_get_products_name($product_info['products_id']); ?>">

<?php include(FILENAME_ASK_A_QUESTION_POPUP); ?>

</div></form>

 

 

Help I have come so close.

Thank You

Bill

Share this post


Link to post
Share on other sites

Ok I noticed that it works fine on the email side on all buttons. It list the product in question or bestoffer made. Just wont show the 4th button popup product on the header in the product info page, when you click on the button.

Share this post


Link to post
Share on other sites

Hi EchoGuns,

 

Well I finaly did it. I brought the 2 contributions to 1.

 

If you want to see it in action here is the link. I did swith price with model. As it is more friendly. And I fix the issue with the layout of the buttons

 

http://www.shoptuin.nl/product_info.php?cPath=21&products_id=28&language=en

I was wondering if i could see your product_info.php file where you combined the 2 addons to make them work. I am trying to do the smae thing, but cant seem to get it right....

Share this post


Link to post
Share on other sites

I am not able to pull my "Manufacturers" info when I set the option to true. It shows Manufacturer, but it does not display the name, nor the proper link underneath. Any ideas?

Share this post


Link to post
Share on other sites

@@newburns

 

Go through the installation instructions again carefully. You are missing the part where you add the manufacturer info to the mysql lookup.

Share this post


Link to post
Share on other sites

Yep, That Worked.

 

Is there any way I can assist you with instructions? Between your two contributions, there are some thing missing in your instructions.

I have yet to get the product Tabs to work.

At first it was stacking, then I tried the stylesheet.css change in the forum, and my whole web page repeated in the tabs.

I had no other solutions afterwards, so I just uninstalled. But I really do need it. Web page looks funny without it.

http://mtrosemedia.tk/store

Share this post


Link to post
Share on other sites

Ok, i have both product tabs and product info page box installed together using 2.3.3 osc. I need to remove the extra add to cart button right above the product tabs. Thanj you in advance for your help...

Share this post


Link to post
Share on other sites

Nice work man ! ...i just install your contribution all works fine ....but in admin page i have a tiny problem

i will upload a photo ... it's normal to have duplicates entry ?

1zexmd5.jpg

Share this post


Link to post
Share on other sites

Did you run the SQL twice or something?

 

You will need to delete the duplicates using PHPMyadmin.

Share this post


Link to post
Share on other sites

Did you run the SQL twice or something?

 

You will need to delete the duplicates using PHPMyadmin.

yes i think i press 2 times GO button

 

the problem is i don't now how to remove it :(

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×