Search found 26 matches

Search found 26 matches

Re: Need to input "shipping-2-me-cost" value to each product

Sorry for the hiatus, got caught by my college finals. I will se that field, i am having trouble with the tabs JS dows anyone have some expertise with it?

Jump to post
  • Sat Jul 09, 2011 4:48 am
  • Replies 15
  • Views 1560
Re: Need to input "shipping-2-me-cost" value to each product

No. A cost field in the product table.
I browsed the DB and it seems that there isn't any native mention to a cost.

Jump to post
  • Fri Jun 10, 2011 9:29 am
  • Replies 15
  • Views 1560
Re: Need to input "shipping-2-me-cost" value to each product

I was working on the cost part of the module when it hits me. Opencart doesn't have a cost part does it?

Jump to post
  • Fri Jun 10, 2011 8:43 am
  • Replies 15
  • Views 1560
Re: htaccess not redirecting old url

Check to see which real page you are going and avoid the old redirect that was redirecting indefinetely
Give an example to the page you want to type and page you want to get

Jump to post
  • Sat Jun 04, 2011 4:18 am
  • Replies 3
  • Views 583
Re: Product search in admin by part of the name

Also i added a way to make quantity searchs for > and < like >900 etc: Changed line 346 to: if (isset($data['filter_quantity']) && !is_null($data['filter_quantity'])) { $operator='='; if(strpos ($data['filter_quantity'],'<')!==false || strpos ($data['filter_quantity'],'<')!==false){ $operator='<'; }...

Jump to post
  • Fri Jun 03, 2011 9:28 am
  • Replies 8
  • Views 6809
Change in catalog/model/product.php

Please change the "like" search from catalog/model/product.php as i described in http://forum.opencart.com/viewtopic.php?f=23&t=33073

It will make the search by the middle of the world also.

Thanks

Jump to post
  • Fri Jun 03, 2011 9:00 am
  • Replies 0
  • Views 366
Product search in admin by part of the name

To make the product show the Canon EOF product for example when you type EOF change the lines in opencart 1.5 in admin/model/catalog/product.php 334-340 to: if (isset($data['filter_name']) && !is_null($data['filter_name'])) { $sql .= " AND LCASE(pd.name) LIKE '%" . $this->db->escape(strtolower($data...

Jump to post
  • Fri Jun 03, 2011 8:58 am
  • Replies 8
  • Views 6809
Re: fetch method from controller missing in 1.5?

Thanks for the reply. I was already able to do what i intended with getChild, but needed to create a controller for that.
So lousy scripts can't get loaded like before without a controller, was this by design forcing that every View be attached to a controller?

Jump to post
  • Fri Jun 03, 2011 8:53 am
  • Replies 2
  • Views 308
Re: htaccess not redirecting old url

Hello Peter.
I guess that you are getting infinity redirect is that right?
Try changing you htaccess rule to this
RewriteCond %{HTTP_HOST} ^adventurebaby\.co.uk$ [NC]
RewriteCond %{REQUEST_URI} !^http://www.adventurebaby.co.uk\/?.*$
RewriteRule ^(.*)$ http://www.adventurebaby.co.uk/$1 [R=301,L]

Jump to post
  • Fri Jun 03, 2011 7:38 am
  • Replies 3
  • Views 583
[1.5.0.] fetch method from controller missing?

The protected function fetch from system/engine/controller got removed from 1.4 to 1.5?
Does anybody knows why ?

Jump to post
  • Fri Jun 03, 2011 7:29 am
  • Replies 2
  • Views 308
admin/controller/product modification

First of all there is a duplication in the url making in line 276-308 and then again in the 462-490. There is also a lot of repetition i propose change the method getList() from its original to the code below that cut a lot of comparations and some redundancy private function getList() { $toSearch=a...

Jump to post
  • Fri Jun 03, 2011 6:17 am
  • Replies 0
  • Views 560
Re: Need to input "shipping-2-me-cost" value to each product

I found some time and i am trying to make a module for composite costs(as part of a bigger module that i'm making). I will let you know if i finish it

Jump to post
  • Fri Jun 03, 2011 5:06 am
  • Replies 15
  • Views 1560
Re: Need to input "shipping-2-me-cost" value to each product

I was thinking about your problem and the only thing you want is to automatically manage the final price trough these variables? You cnat put the shipping-2-me under cost also ?

Jump to post
  • Sun May 22, 2011 1:38 am
  • Replies 15
  • Views 1560
Re: Need to input "shipping-2-me-cost" value to each product

This seems to me as something pretty especific, i guess you can make a extension with it, i will do some experimentation with product customization in the following days, if i discover an easy way to do something like that i'll let you know

Jump to post
  • Thu May 19, 2011 9:40 am
  • Replies 15
  • Views 1560
Re: Need to input "shipping-2-me-cost" value to each product

don't know if there is an ready module for that but i guess that you can make a new shipping method and just activate it.

Jump to post
  • Thu May 19, 2011 7:52 am
  • Replies 15
  • Views 1560
autoLoading hierarchy

I was browsing to opencart and thought that maybe it could use an autoload hierarchy, if all files obey some rules like: ControllerName We could write an autoload function and search the files. Suppose that you have the checkout/cart and you load it now as something like $this->load->model('checkout...

Jump to post
  • Wed May 18, 2011 10:44 am
  • Replies 0
  • Views 427
Re: Order Number - How to make it random number ?

The Databse have an autoincrement value so it does the +1 there,almost every Data Base System have it, you are probably using MySql. You can mask in a number of ways you can send ANOTHER number and relate this to the order etcetera. But a little coding will be required nevertheless. The reference to...

Jump to post
  • Wed May 18, 2011 10:12 am
  • Replies 31
  • Views 8928
Re: Order Number - How to make it random number ?

Havlock The code doesn't add a +1 the database add this. Since this number is used in a lot of places i don't think you should change it, but if you want to change it it is addeed in the line 70 of that file. But a more interesting aproach that Qphoria said was just mask the number to the client. I ...

Jump to post
  • Wed May 18, 2011 9:52 am
  • Replies 31
  • Views 8928
Re: Directory structure common ground

Thanks Qphoria.
I guessed that the system was code from the opencart and thought that would be better not to mix things up, but i will use it them.

Jump to post
  • Wed May 18, 2011 9:31 am
  • Replies 2
  • Views 353
Re: Order Number - How to make it random number ?

I would strongly advise against modifying code in the source but if you want do that in "the wrong way" just change the create method in ModelCheckoutOrder in line 70 (the insert SQL part) to add the order_id as the max order you got+5. If you do so i would say to use a table lock to avoid colisions...

Jump to post
  • Wed May 18, 2011 9:01 am
  • Replies 31
  • Views 8928

Search found 26 matches