Search found 469 matches

Search found 469 matches

Re: Changing Discount Price Break Price

Need2Clean Admin wrote:
Tue Apr 02, 2019 3:28 pm
but Opencart only displays it including tax.
No, it shows excluding tax too, see my first reply.

Jump to post
  • Tue Apr 02, 2019 3:51 pm
  • Replies 4
  • Views 195
Re: Changing Discount Price Break Price

But if you want to copy price without tax into special price you can do the following in catalog/controller/product/product.php (using vqmod or otherwise): find this block: if ($this->config->get('config_tax')) { $data['tax'] = $this->currency->format((float)$product_info['special'] ? $product_info[...

Jump to post
  • Tue Apr 02, 2019 1:53 pm
  • Replies 4
  • Views 195
Re: 2.3.0.2 SSL ISSUE

Elevate wrote:
Mon Apr 01, 2019 1:39 am
Steps 3 and 4 are not correct.
Second that. Don't know if it's hardcoded URL or something else, but base href doesn't need to be changed for it to work, that's for sure.

Jump to post
  • Tue Apr 02, 2019 1:44 pm
  • Replies 6
  • Views 260
Re: Changing Discount Price Break Price

In default theme it already shows price without taxes here:

Code: Select all

 <?php if ($product['tax']) { ?>
                <span class="price-tax"><?php echo $text_tax; ?> <?php echo $product['tax']; ?></span>
 <?php } ?>
Needs "Display Prices With Tax" enabled in settings.

Jump to post
  • Tue Apr 02, 2019 1:39 pm
  • Replies 4
  • Views 195
Re: adding microdata

What are those errors / warnings?

Jump to post
  • Tue Apr 02, 2019 1:22 pm
  • Replies 3
  • Views 124
Re: 2.3.0.2 SSL ISSUE

Did you change both HTTP_SERVER and HTTPS_SERVER to https URLs?

Jump to post
  • Sat Mar 30, 2019 10:17 pm
  • Replies 6
  • Views 260
Re: error when click product in 3.0.3.1

admin/controller/extension/product_extra.php belongs to some extension that you have, it's not openCart's core file. You should ask for support from that extension's developers.

Jump to post
  • Sun Mar 24, 2019 4:48 am
  • Replies 6
  • Views 255
Re: Custom product to cart

Prior to openCart 3 cart data was stored in the session $session->data['cart'], and in openCart 3 it's in cart table in the database. To add product to cart you do something like this: $this->cart->add($product_id, $quantity, $options); //$options is optional array You should research system/library...

Jump to post
  • Fri Mar 22, 2019 6:45 am
  • Replies 1
  • Views 108
Re: Order status variable not assigned

Your code looks correct, i don't see anything wrong.

Did you try:

Code: Select all

{% if status == 'Canceled' or status == 'Denied' %}
Anyway, it's probably better to do all that in the controller rather than in twig template.

Jump to post
  • Tue Feb 05, 2019 12:45 am
  • Replies 2
  • Views 152
Re: Relative vs Absolute Url on Opencart

You need to modify system/library/url.php . Changing this if ($this->ssl && $secure) { $url = $this->ssl . 'index.php?route=' . $route; } else { $url = $this->url . 'index.php?route=' . $route; } to this if ($this->ssl && $secure) { $url = '/index.php?route=' . $route; } else { $url = '/index.php?ro...

Jump to post
  • Tue Jan 01, 2019 7:45 pm
  • Replies 1
  • Views 169
Re: Custom Login

Customer login is implemented in the file system/library/cart/customer.php in openCart 2.2 or higher, or system/library/customer.php in earlier versions.

Jump to post
  • Sat Dec 22, 2018 6:33 am
  • Replies 2
  • Views 259
Re: Default language of the store

It tries to use the language that is set as preferred in your web browser first. So if your browser's most preferred language is English, and you have English available on your site, it'll show English version even if Arabic is default in site settings.

Jump to post
  • Tue Dec 18, 2018 6:06 pm
  • Replies 2
  • Views 116
Re: All ocmod extension changes not showing in admin or store

Make sure that both config.php and admin config.php have correct paths in DIR_STORAGE and DIR_MODIFICATION , admin/config.php has DIR_CATALOG defined, and config.php does not have DIR_CATALOG defined . Also go into your modification directory with FTP and see if it has directories and files inside b...

Jump to post
  • Tue Dec 18, 2018 1:07 pm
  • Replies 14
  • Views 789
Re: Add logo to register email

Registration email is plain text, not html. You can change it to html by replacing $mail->setText with $mail->setHtml in catalog/controller/mail/register.php , and then perhaps editing the template - you can use catalog/view/theme/default/template/mail/order.twig as an example. Or you can add a logo...

Jump to post
  • Mon Dec 17, 2018 7:07 pm
  • Replies 2
  • Views 96

Search found 469 matches