Search found 110 matches

Search found 110 matches

Re: Product option add "="

If that extension does what you want I would go with that. Otherwise it is not really a quick fix.

Jump to post
  • Sat May 25, 2013 5:32 pm
  • Replies 6
  • Views 1121
Re: What does the db escape line do ?

Pretty much.

You will need to add this field/column to the database as well.

Where you want to display this information is something you may have not had a chance to think about yet. But this will involve changing some database query code.

Jump to post
  • Fri May 24, 2013 8:34 pm
  • Replies 21
  • Views 11932
Re: Please help me with this error

Without any log files to look over I can not tell how this happened. Change your password for your host login and your ftp password. Delete all the code from every file, yes every file you find it in. Do not store your new passwords on your pc. If this happens again in a few days one of two things a...

Jump to post
  • Fri May 24, 2013 7:52 pm
  • Replies 12
  • Views 599
Re: error message but checkout successful

What code do you have in that section of the file? (e.g. line 55 of success.php)

Jump to post
  • Fri May 24, 2013 7:03 pm
  • Replies 5
  • Views 3719
Re: Change My Accout, Wish List & Login Text, Which File

This change be changed in the language file. Location: catalog->language->english->common->header.php $_['text_account'] = 'My Account'; $_['text_welcome'] = 'Welcome visitor you can <a href="%s">login</a> or <a href="%s">create an account</a>.'; Change which ever you need to :D If you have removed ...

Jump to post
  • Fri May 24, 2013 6:56 pm
  • Replies 1
  • Views 337
Re: Things to specify in Products to improve SEO ?

People do it all the time and if you do not have time then it is your only option. A lot of main sellers just C&P from the manufacturers sites. But one key thing they rely on that you may not have got in to yet is advertising and creating links to your sites. 'If you build it they will come.' - Whil...

Jump to post
  • Fri May 24, 2013 5:50 pm
  • Replies 9
  • Views 930
Re: Product option add "="

The simplest way to do this is to have a 0 price in that field. The product already has a base price, which is essentially what you want to charge. If you need a new product base price, then surely this becomes a new product? Any options on that product either increase the base price or decrease it....

Jump to post
  • Fri May 24, 2013 5:41 pm
  • Replies 6
  • Views 1121
Re: What does the db escape line do ?

Is this the only protection or am I overseeing something? And does this protection protect against sql injections, xss and so on? The database escape method is only useful if you've enclosed the variable with single quotes. If you don't then you're still susceptible to SQL injection. http://johnroa...

Jump to post
  • Fri May 24, 2013 4:59 pm
  • Replies 21
  • Views 11932
Re: What does the db escape line do ?

Thanks for your answer.. I've got one more additional related question though. I'm sure opencart is pretty safe, but what if I add some custom fields to the registration page. Basicly the validation part of the controller register.php file only checks whether the variables ain't empty and then the ...

Jump to post
  • Fri May 24, 2013 4:54 pm
  • Replies 21
  • Views 11932
Re: Products Viewed Behavior

File: admin->model->report->product.php Find: (Line 4) $sql = "SELECT ... AND p.viewed > 0 ORDER BY p.viewed DESC"; Add: $sql = "SELECT ... AND p.viewed >= 0 ORDER BY p.viewed DESC"; *All we added as a '=' after the '>' Editing the core is not advised but I can provide a VQmod if you prefer. Just re...

Jump to post
  • Fri May 24, 2013 3:20 pm
  • Replies 3
  • Views 357
Re: Developers tool to know what controls or where a code is

Quick note - any comments done in php will not be shown in the code on the client side. <!-- Comment in html --> will show in the source code of a webpage. <?php // Comment in php ?> will not show in the source of a webpage. Which is better? Given the comments show how the code works, html I would c...

Jump to post
  • Fri May 24, 2013 5:08 am
  • Replies 11
  • Views 516
Re: One blog, one domain, 3 shops. How?

I would use whatever blogging tool suits your needs best. Personally I go to wordpress first. I appreciate what you want is www.xxx-xxx.co.uk/shop1 but if you are willing to go with http://shop1.xxx-xxx.co.uk this makes it easier. Assuming we are going with http://bedshop.xxx-xxx.co.uk Create a new ...

Jump to post
  • Fri May 24, 2013 2:33 am
  • Replies 4
  • Views 514
Re: How do I set up product checkboxes to add products to ca

I am not overly familiar with 1.5.4 but in 1.5.5 I would create a product called 'Gift Set Box 1' and then have options on that box (set as the product options) that a user could select. The idea here is that you have a ghost product and the options of that product represent the products they can ad...

Jump to post
  • Thu May 23, 2013 11:20 pm
  • Replies 1
  • Views 901
Re: Multiple payment methods - expected?

A feel the need to quote the line from the matrix here but I shall not unless you really insist :D Personally I think paypal and a credit/debit card option is ideal. But there is no 'one size fits all'. The two options give the user enough to feel they have a choice and they know exactly what they w...

Jump to post
  • Thu May 23, 2013 11:09 pm
  • Replies 8
  • Views 1558
Re: Developers tool to know what controls or where a code is

You can use code comments. Your comments should be enough for you to understand and it is always better to put more information than less information. Documented code normally has a paragraph at the store of a file, before a method to explain it and any possibly confusing bit of code has explanation...

Jump to post
  • Thu May 23, 2013 10:59 pm
  • Replies 11
  • Views 516
Re: Options, links?

On the front of the site or on the admin?

Jump to post
  • Thu May 23, 2013 10:47 pm
  • Replies 2
  • Views 174
Re: What does the db escape line do ?

This function determines the data type so that it can escape only string data. It also automatically adds single quotes around the data so you don't have to: Reference: http://ellislab.com/codeigniter/user-guide/database/queries.html UPDATE: It does the following exactly: (Found in system->database...

Jump to post
  • Thu May 23, 2013 10:37 pm
  • Replies 21
  • Views 11932
Re: One blog, one domain, 3 shops. How?

Just to clarify your idea: www.xxx-xxx.co.uk is your blog with 3 banners that each go to: www.xxx-xxx.co.uk/shop1 is your first shop www.xxx-xxx.co.uk/shop2 is your second shop www.xxx-xxx.co.uk/shop3 is your third shop And you want your three shops to have different categories of products in each? ...

Jump to post
  • Thu May 23, 2013 9:55 pm
  • Replies 4
  • Views 514
[Solved] Re: Alter Invoice Display

Note: This is the quickest solution I could see. But not ideally the best. I think a better approach would be for the shipping value to be passed to the 'ocm_order_product' table reducing the need to load in the product module to find out if a product has shipping. But that would require more code a...

Jump to post
  • Thu May 23, 2013 7:28 pm
  • Replies 1
  • Views 590
Re: New and Need Lots of Help

@CutiePengu - First off, welcome and glad to have you here. Opencart is in my opinion one of the best e-commerce solutions on the market and trust me when I say I have looked for others and built several custom shops from scratch. The first question nobody has asked is what experience do you have: D...

Jump to post
  • Thu May 23, 2013 5:50 pm
  • Replies 9
  • Views 1374

Search found 110 matches