matlamont's Profile
Reputation: 0
Neutral
- Group:
- Members
- Active Posts:
- 130 (0.12 per day)
- Joined:
- 23-May 09
- Profile Views:
- 4,368
- Last Active:
Apr 21 2012 10:00 AM- Currently:
- Offline
My Information
- Member Title:
- Dedicated Member
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
-
Male
Contact Information
- E-mail:
- Private
- Website URL:
-
http://www.parkgateit.co.uk
Users Experience
- Experience:
- Intermediate
- Area of Expertise:
- Web Developer
Posts I've Made
-
In Topic: Display "free delivery" text on products in 1 category (opencart)
10 February 2012 - 11:06 AM
Ok i tried the above but it still doesn't show. any help is much appreciated as i have thousands of products to update manually otherwise
PS im using 1.5.0 -
In Topic: Display "free delivery" text on products in 1 category (opencart)
08 February 2012 - 11:40 AM
Jay Gilford, on 08 February 2012 - 11:12 AM, said:You need to load the category info into the template from the controller to be able to see if its the right one
Open
/catalog/controller/product/category.php
Find this line
$this->document->setTitle($category_info['name']);
before it put
$this->data['category_id'] = $category_id;
Then in your template use
if ($category_id == "88" ) { echo "Free Delivery"; }
OK just for you to see where i need to put that is some custom code for page titles
//===wommon 2011-7-25 add pagetitle start //$this->document->setTitle($category_info['name']); if($category_info['pagetitle']){ $this->document->setTitle($category_info['pagetitle']); }else{ $this->document->setTitle($category_info['name']); } //===wommon 2011-7-25 add pagetitle end
shall i still put it there? -
In Topic: Opencart Page Title Code
20 July 2011 - 03:58 PM
Thanks guys, in the end i settled for product name | company -
In Topic: Opencart Page Title Code
19 July 2011 - 01:39 PM
Hi Jay,
How do i do that is it easy enough?
Regards
Help




Find My Content
Display name history
Comments
matlamont has no profile comments yet. Why not say hello?