Search found 50 matches

Search found 50 matches

Re: Hide 'Additional Images' tab

Whoops sorry about that. I forgot that I removed the add to cart button and replaced it with a more info button. Glad you were able to get past that.

Scott

Jump to post
  • Thu Feb 10, 2011 12:11 pm
  • Replies 22
  • Views 2892
Re: Hide 'Additional Images' tab

Stenzin, Glad that worked out for you. I actually made the change to related products immediately after I finished with the additional images so here is the code to replace with <?php if ($products) { ?> <div id="tab_related" class="tab_page"> <table class="list"> <?php for ($i = 0; $i < sizeof($pro...

Jump to post
  • Thu Feb 10, 2011 9:38 am
  • Replies 22
  • Views 2892
Re: Hide 'Additional Images' tab

I found that removing all of that code will cause an issue when trying to actual show an additional image. Try replacing this entire code <div id="tab_image" class="tab_page"> <?php if ($images) { ?> <div style="display: inline-block;"> <?php foreach ($images as $image) { ?> <div style="display: inl...

Jump to post
  • Wed Feb 09, 2011 11:15 pm
  • Replies 22
  • Views 2892
Re: Hide 'Additional Images' tab

Glad that worked for you. The only problem I see on mine is that it is still showing the empty DIV when there are not any images in the tab. Do you see this on yours?

Scott

Jump to post
  • Wed Feb 09, 2011 10:42 pm
  • Replies 22
  • Views 2892
Re: Hide 'Additional Images' tab

Put the code on my site and it works fine. Do you have a link so we can look at the code? *EDIT* I now see the error that you are describing. Find this code around line 180 of the product.tpl <?php foreach ($images as $image) { ?> <div style="display: inline-block; float: left; text-align: center; m...

Jump to post
  • Wed Feb 09, 2011 9:51 pm
  • Replies 22
  • Views 2892
IE7 and remove from cart button issue

Hello All,

I've been looing for a while for a solution to the issue after adding a product to the cart that the "X" image does not show up in the cart in IE7 until the page is refreshed. Has anyone found a possible fix for this?

Thanks,

Scott

Jump to post
  • Wed Feb 09, 2011 7:34 am
  • Replies 0
  • Views 186
Re: Hide modules according to the page

I still received an error when using $this->data['route'] = $this->request->get['route']; but using this code if (isset($this->request->get['route']) && ($this->request->get['route'] == 'product/product' || $this->request->get['route'] == 'account/login')) { ?> works perfectly without any errors at ...

Jump to post
  • Mon Feb 07, 2011 5:38 am
  • Replies 20
  • Views 3115
Re: Hide modules according to the page

The code that I was using works correctly but gives an undefined index error when the Display Error is turned on. I tried your code but the $this->data['route'] = $this->request->get("route"); gives me a Fatal error: Call to undefined method Request::get() when I try to bring up the page. If I remov...

Jump to post
  • Mon Feb 07, 2011 12:35 am
  • Replies 20
  • Views 3115
Re: Hide modules according to the page

Justinv, Thanks for the suggestion. I tried this on one of the modules but it causes the website to have an error 500 until I remove the script. Any ideas? Scott **EDIT** Believe I found the code that works. <?php if($this->request->get['route'] == 'product/product' || $this->request->get['route'] =...

Jump to post
  • Sun Feb 06, 2011 2:08 pm
  • Replies 20
  • Views 3115
Hide modules according to the page

Hello All,

Has anyone found an effective way to edit a module so that it can be hidden on specified pages?

Thanks,

Scott

Jump to post
  • Sun Feb 06, 2011 6:22 am
  • Replies 20
  • Views 3115

Search found 50 matches