Search found 16 matches

Page 1 of 1

Search found 16 matches

Re: How can I create module? and more!

Do you have any experience at all in programming?
If so, are you familiar with the mvc programming structure?

Jump to post
  • Thu May 13, 2010 2:25 pm
  • Replies 2
  • Views 854
Re: Using the number of items in the cart in header.tpl

There is already a written function in the cart library (system/library) that returns that value. You can store it on your own variable, remember that to access it from the view file (.tpl) you need to type directly the variable name, in this case ' yourvar ' instead of the data array: $this->data['...

Jump to post
  • Wed May 12, 2010 5:50 am
  • Replies 3
  • Views 844
Re: Make account fields NOT required from Admin console?

What I did was a dirty hack (to call it something). Just make the fields you don't want to be required hidden fields, and assign them a value, such as "NULL" or "EMPTY" so that OC doesn't bring up an error. This means, that in your "catalog/view/theme/default/account/create....

Jump to post
  • Mon May 10, 2010 7:01 am
  • Replies 3
  • Views 1205
Re: How to clear order history and clients...

Go to http://www.yourSite.com/admin/index.php?route=sale/customer" onclick="window.open(this.href);return false; Select all and delete (right corner) Go to http://www.yourSite.com/admin/index.php?route=sale/order" onclick="window.open(this.href);return false; Select all and delet...

Jump to post
  • Mon May 10, 2010 5:35 am
  • Replies 3
  • Views 2908
-

-

Jump to post
  • Wed May 05, 2010 8:01 am
  • Replies 0
  • Views 505
Re: Using data from another table

Congratulations :)

Jump to post
  • Thu Apr 29, 2010 5:22 pm
  • Replies 4
  • Views 1273
Re: Using data from another table

I don't have that module installed but to query another table in the database you can use $this->db->query("QUERY HERE"); That way you will be able to place any data of the result on to the product page or wherever you want. Remember that to access a variable like $var on the template file...

Jump to post
  • Thu Apr 29, 2010 4:06 pm
  • Replies 4
  • Views 1273
Re: Discount per item

As I've said, I've already done it, but thanks for the offer. If anyone wants the per article addition let me know. About my maths, they are correct, you misread my text. Let me highlight it for you. Lets expand this with an example: - I add Item #1 with a price of 140usd to my cart twice - I add It...

Jump to post
  • Wed Apr 28, 2010 9:11 pm
  • Replies 10
  • Views 3087
Re: Discount per item

Maybe I'm experiencing something wrong but if I add a coupon with a set ammount of money to discount instead of a percentage, I get that discount applied to the total and not to each item. Lets expand this with an example: - I add Item #1 with a price of 140usd to my cart twice - I add Item #2 with ...

Jump to post
  • Wed Apr 28, 2010 3:46 pm
  • Replies 10
  • Views 3087
Discount per item

Is it possible to apply a discount on a per item basis instead of to the total? If all items had the same price then it could be achieved by using a percentage but since they don't, this is no good. I'm pretty sure I could extend the current code to include that, but before getting to it, I thought ...

Jump to post
  • Wed Apr 28, 2010 7:45 am
  • Replies 10
  • Views 3087
Re: Missing something

:) That's exactly what I was missing Xsecrects. Opencart should have a stackoverflow'ish site to reward knowledge.
Thanks again!

Jump to post
  • Wed Apr 28, 2010 2:48 am
  • Replies 2
  • Views 792
Missing something

While trying to create a new controller for the admin control panel (I've developed a custom ups shipping integration that provides me the required labels for printing and so places the picking up/return order) I encountered I wasn't able to this. Let me explain myself. I was able to extend the func...

Jump to post
  • Tue Apr 27, 2010 5:57 pm
  • Replies 2
  • Views 792
Accessing core classes/functions from custom model

Hi there, Maybe I'm approaching this the wrong way, but I'm writting a custom model to do some ajax validation of the user login and password and can't seem to access the ControllerAccountLogin class rrom my new model. I've used another frameworks before and for example in codeigniter I could create...

Jump to post
  • Tue Mar 02, 2010 5:29 pm
  • Replies 6
  • Views 3322

Page 1 of 1

Search found 16 matches