Search found 17 matches

Page 1 of 1

Search found 17 matches

Re: How can i show the permanent discount percent for a clie

You got the idea, but how can i get the customer group's description to the account? Or maybe somewhere in the header.

Jump to post
  • Wed Sep 11, 2013 10:54 pm
  • Replies 3
  • Views 544
How can i show the permanent discount percent for a client?

Hello, I created a customer group and added a 25% discount to that. Then assigned a client to that group. Everything is working fine, the prices are lower with 25% than original if i login with that username. My problem is: how can i add a message to the front page so the user can see exactly what i...

Jump to post
  • Wed Sep 11, 2013 1:50 pm
  • Replies 3
  • Views 544
Re: How to get description on the Wishlist page?

Is this forum dead? I had to look myself for a solution. If there is anyone who need this: Just edit the /catalog/controller/account/wishlist.php and add this line: 'description' => html_entity_decode($product_info['description'], ENT_QUOTES, 'UTF-8'), to your $this->data['products'][] = array( ...

Jump to post
  • Fri Aug 09, 2013 4:04 pm
  • Replies 1
  • Views 423
How to get description on the Wishlist page?

Hello, I'm trying to get the description of the products in the Wishlist page but i get this error: Notice: Undefined index: description in ... I thought it will be the same as on the product page so i used this code: <?php echo $product['description']; ?> Where should i look and what should i edit ...

Jump to post
  • Fri Aug 09, 2013 2:52 pm
  • Replies 1
  • Views 423
Re: How add columns to home page?

I want to add a right column on the "View Cart" (shopping cart) page. In the modules area i can't see this layout - i see the Checkout layout but i don't want the right column on all checkout pages, i just need it on the view cart page.

How can i do that?

Thanks to all!

Jump to post
  • Thu Jun 27, 2013 5:49 pm
  • Replies 6
  • Views 5031
Re: How to... extract float number from price

After i tried with (float) $price and floatval($price) which didn't worked, i found this way:

echo floatval(preg_replace("/[^-0-9\.]/","",$price));

Everything is ok now.
You can close this thread, hope other people will need this too.

Jump to post
  • Thu Apr 04, 2013 11:11 pm
  • Replies 1
  • Views 363
How to... extract float number from price

Hi guys, I'm in trouble with (i think) a simple task. I want to substract 2 prices in opencart. If i try this: $price1 - $price2 it doesn't work because in the price is included the currency too. How can i extract the float number from $price? Eg. echo $price ----> $165.50 echo $ineedthis -----> 165...

Jump to post
  • Thu Apr 04, 2013 10:47 pm
  • Replies 1
  • Views 363
Re: How to... Check if products in wishlist?

Thank you qahar!

It worked like a charm! :)
Yes, i wanted to know if there are products in wishlist... the second solution was great!

Jump to post
  • Wed Mar 06, 2013 11:36 pm
  • Replies 4
  • Views 2989
How to... Check if products in wishlist?

Hi guys, Does anyone have a solution to this? I want to check if there are any products added in the wishlist but couldn't find anything regarding this task. I know how to check if an user is logged in or not, but can't check if there are any products in the wishlist. It should be something like thi...

Jump to post
  • Mon Mar 04, 2013 9:09 pm
  • Replies 4
  • Views 2989
Re: Filter module opencart 1.5.5.1 - Guide?

The same to me... i can't find that new filter module. Can anyone advise?

Jump to post
  • Sat Jan 26, 2013 12:16 am
  • Replies 109
  • Views 111278
Re: Where is $cart variable defined?

Thank you for the info!

I already fixed it using some "if"'s :)

Jump to post
  • Fri Nov 16, 2012 10:30 pm
  • Replies 3
  • Views 881
Re: Taxes after Shipping

Thank you so much for the info! I fixed that!

Jump to post
  • Mon Nov 12, 2012 7:00 pm
  • Replies 4
  • Views 518
Where is $cart variable defined?

Hello guys, In header.tpl file i find this: echo $cart; Where is this $cart defined? I want to define another variable, let's call it $cart2 and that to show the /template/module/cart2.tpl instead of /template/module/cart.tpl Basically, i want to include 2 different carts in the template. Something ...

Jump to post
  • Mon Nov 12, 2012 6:59 pm
  • Replies 3
  • Views 881
Re: Taxes after Shipping

That doesn't work :(

Jump to post
  • Sat Sep 15, 2012 12:45 am
  • Replies 4
  • Views 518
Taxes after Shipping

Hi guys, I have a problem with the calculation of taxes. Let's say i have a product of $125. My cart looks like this: Sub-Total: $125.00 Sales Tax (6%): $7.50 Total: $132.50 Now, once i choose the shipping method i have this: Sub-Total: $125.00 Shipping: $12.00 Sales Tax (6%): $7.50 Total: $144.50 I...

Jump to post
  • Fri Sep 14, 2012 8:02 pm
  • Replies 4
  • Views 518

Page 1 of 1

Search found 17 matches