Search found 18 matches

Page 1 of 1

Search found 18 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 707
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 752
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.tpl" file (replace defaul...

Jump to post
  • Mon May 10, 2010 7:01 am
  • Replies 3
  • Views 819
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 delete too. That should g...

Jump to post
  • Mon May 10, 2010 5:35 am
  • Replies 3
  • Views 2480
Re: ACENTOS Y Ñ EN ENVIO DE MAILS

Utilizando la versión 1.4.7 tambien pasaba lo mismo. Mi solución fue cambiar los simbolos en el archivo de idioma, por su correspondiente entidad HTML. Quedando así el archivo de idioma (language/spanish/mail/account_create.php): <?php // Text $_['text_subject'] = '%s - Gracias por registrarse'; $_[...

Jump to post
  • Mon May 10, 2010 5:06 am
  • Replies 4
  • Views 1183
-

-

Jump to post
  • Wed May 05, 2010 8:01 am
  • Replies 0
  • Views 451
Re: [Medio de Pago] Servired

A mi me pasa lo mismo. Una vez realizado el pago y de más, cuando pulso en continuar/cerrar en la plataforma de Servired, me lleva a la ruta 'payment/servired/callback' pero muestra el error puesto que Servired no me ha enviado ningúna variable. Esto lo he comprobado incluyendo un output de todas la...

Jump to post
  • Wed May 05, 2010 2:42 am
  • Replies 58
  • Views 11886
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 files it has t...

Jump to post
  • Thu Apr 29, 2010 4:06 pm
  • Replies 4
  • Views 807
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 2721
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 2721
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 2721
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 671
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 671
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 2879

Page 1 of 1

Search found 18 matches