Search found 29 matches

Search found 29 matches

Re: Different product template based on location (or any fie

Sorry for the bump, but could anyone tell me if there is an 'if' statement I can write that would check the value of an arbitrary product field like location and if there is a match load up an alternate product template?

Thanks!

Jump to post
  • Mon Aug 12, 2013 9:06 pm
  • Replies 4
  • Views 3712
Re: Different product template based on location (or any fie

Thanks for the reply! I guess I was hoping for some help on the syntax of this line:

Code: Select all

if($this->request->get['product_id'] == 42){
How would I change this to check for for the product location field to equal "accessory" for example.

Jump to post
  • Fri Aug 09, 2013 3:58 am
  • Replies 4
  • Views 3712
Different product template based on location (or any field)

I am looking to have different product templates for a couple product types. Feature products will have product.tpl and Accessories will have accessory.tpl. I know I can designate templates in the controller by using IDs //42 is the id of the product if($this->request->get['product_id'] == 42){ if (...

Jump to post
  • Fri Aug 09, 2013 1:28 am
  • Replies 4
  • Views 3712
Re: Sort by Category in Search Results

I still haven't figured out a good way of setting up search results like this.

I would be willing to pay for an extension if someone can put this together. Thanks for any help or insight!

Jump to post
  • Fri Aug 03, 2012 11:18 am
  • Replies 3
  • Views 433
Re: Sort by Category in Search Results

Thanks for the response trinkaljuneja! Maybe I don't understand what grabbing the category ID and adding it to the search query does for me. If I add a category filter to the search I can only see one category at a time, no? I want all categories to be present on the results page, with products sort...

Jump to post
  • Sun Jul 08, 2012 1:17 am
  • Replies 3
  • Views 433
Sort by Category in Search Results

Maybe this has been done, but I've poured over the forums and extensions and haven't found a solution. My site will be based on search results to find products, rather than mining through category pages. I would like each of my categories to have their own specific section to the results page, much ...

Jump to post
  • Sat Jul 07, 2012 12:04 pm
  • Replies 3
  • Views 433
Sort by Category in Search Results

Maybe this has been done, but I've poured over the forums and extensions and haven't found a solution. My site will be based on search to find products, rather than mining through category pages. I would like each of my categories to have their own specific section to the results page, much like if ...

Jump to post
  • Fri Jul 06, 2012 12:29 pm
  • Replies 0
  • Views 390
Neos Design iOS Wallpaper shop (iPhone, iPad themes)

Hey everyone, I built a photography shop on opencart (1.4.9). You can download custom iPhone and iPad wallpapers for you iOS device. Let me know what you think!

http://www.neosmultimedia.com/wallpapers

Image

Jump to post
  • Wed Aug 10, 2011 5:53 am
  • Replies 0
  • Views 554
Re: SEO URLs only showing products from one category

Im continuing to try to hack this up to make it work. I've added: $this->load->model('catalog/category'); if (isset($this->request->get['path'])) { $path = ''; $parts = explode('_', $this->request->get['path']); foreach ($parts as $path_id) { $category_info = $this->model_catalog_category->getCatego...

Jump to post
  • Wed Apr 13, 2011 12:12 pm
  • Replies 8
  • Views 1083
Re: SEO URLs only showing products from one category

I really don't want to be a 'bump'er but maybe someone could at least let me know if what I am seeking is possible? Maybe someone else that has SEO URLs and multiple product-page templates. I am willing to pay someone to help me out if needed! I appreciate everyone taking the time to look at my thre...

Jump to post
  • Wed Apr 13, 2011 9:07 am
  • Replies 8
  • Views 1083
Re: SEO URLs only showing products from one category

I found catalog/controller/common/seo_url.php this line: if (isset($this->request->get['product_id'])) { $this->request->get['route'] = 'product/product'; How would I write If category is category_39, category 39_44 or category 39_43, get 'bundles/product' else get 'product/product' ? Sorry my php s...

Jump to post
  • Tue Apr 12, 2011 11:29 pm
  • Replies 8
  • Views 1083
Re: SEO URLs only showing products from one category

Ok, somewhere Im still having issues with SEO URLs. I have two different product .tpls on my site. One in the product/product.tpl directory and one in the bundles/product.tpl directory. With SEO URLs turned off, my bundle products are displayed with the correct bundles/product.tpl template. When I t...

Jump to post
  • Tue Apr 12, 2011 1:27 pm
  • Replies 8
  • Views 1083
Re: SEO URLs only showing products from one category

Yup...that was it. Didn't realize SEO Keywords have to be unique even if they show up in different directories.

Jump to post
  • Sat Mar 26, 2011 6:17 am
  • Replies 8
  • Views 1083
Re: SEO URLs only showing products from one category

Would it be an issue if two categories of different sublevels have the same seo keyword?

examples

mens shirts (parent category) > red (sub category) ----- store/mens/red
womens shirts (parent category > red (sub category) ----- store/womens/red

Jump to post
  • Sat Mar 26, 2011 5:41 am
  • Replies 8
  • Views 1083
Re: SEO URLs only showing products from one category

Are you saying somewhere I might be missing a SEO Keyword value?

Jump to post
  • Sat Mar 26, 2011 5:26 am
  • Replies 8
  • Views 1083
SEO URLs only showing products from one category

I've just turned on my SEO URL function. The URLs display properly, however I am experiencing a bug where I can only view products from one category. All the category pages still view properly with the right information. But when I click to view a product in category 20, I get a product from categor...

Jump to post
  • Sat Mar 26, 2011 4:36 am
  • Replies 8
  • Views 1083
$output doubled after ajax add to cart

Im trying to get the ajax add to cart feature working on my 1.4.9.1 site. I upgraded from 1.4.8 and some things haven't seemed to work properly. Currently when I add a product to the cart, ajax will update the cart and count correctly but the $output as defined in cart.php appears to be executed twi...

Jump to post
  • Sat Jan 29, 2011 3:53 am
  • Replies 4
  • Views 443
Re: add "add to cart" button on catalog product list, on hom

I am also getting the undefined index error for product_id and quantity? Why is this? thanks!

Jump to post
  • Fri Jan 28, 2011 4:28 am
  • Replies 21
  • Views 28645
Re: [MOD] - Download Links in Emails

Has anyone got this confirmed working on 1.4.9.1? I would very much like to use it. Thanks!

Jump to post
  • Fri Jan 14, 2011 2:05 am
  • Replies 20
  • Views 8779
Re: FancyBox Product Details from Category page

Nice to know someone else is working on this Qphoria! Have you been able to display the product images in the overlay or just the category thumb? Im trying to get the 'popup' size product images to show up in the overlay. Thanks!

Jump to post
  • Sun Aug 29, 2010 2:25 pm
  • Replies 4
  • Views 1071

Search found 29 matches