Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding a gift voucher product in german language?


gems-n-more

Recommended Posts

Posted

Hi there,

 

I have installed the Gift voucher addon and it really works great.

But I have one small question:

 

When you add a new gift voucher item, you need to write the letters "GIFT" in capitals at the article title.

 

Since I?m working on a german shop, this should be "GUTSCHEIN"!

 

Does anyone know, where to edit this?

 

Thank you for your answers,

 

Steffen

Posted

To do this you will need to edit

 

catalog/includes/modules/order_total/ot_gv.php

 

look for

 

    function update_credit_account($i) {

     global $order, $customer_id, $insert_id;

     if (ereg('^GIFT', addslashes($order->products[$i]['model']))) {

 

and change the '^GIFT' for '^GUTSCHEIN'

 

That should do it.

Trust me, I'm an Accountant.

Posted

Thank you,

 

I?ll try this and I think it will work.

 

Another question:

 

Is there a possibility to charge no shipping costs when only gift vouchers are bought?

 

How can this be done?

Posted

Yes,

 

What shipping module are you using?

Trust me, I'm an Accountant.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...