Search found 88 matches

Search found 88 matches

Re: Arabic Language Code

why not download that "full version" and just extract the language files and use those?
Language packs are just a directory with files, admin-side and catalog-side, no "extension" or "modification" needed.

Jump to post
  • Wed Mar 11, 2020 6:11 pm
  • Replies 6
  • Views 737
Re: htaccess, robots and Sitemap

none really, I just limit the audience of the requests. I put after index() if (!preg_match(BOTMATCH, $_SERVER['HTTP_USER_AGENT'])) { echo 'Sorry, not for you.'; return; } and in config.php define('BOTMATCH', '/bot\/|bot\.|\.bot|:bot|\(bot|abot|kbot|lbot|nbot|pbot|vbot|zbot|obot|dbot|ebot|-bot|bot-|...

Jump to post
  • Wed Mar 11, 2020 6:06 pm
  • Replies 30
  • Views 1439
Re: Country and state list Translation

default you cannot as those are stored in the database, not files, and those tables do not come with a language_id.

Jump to post
  • Wed Mar 11, 2020 1:47 am
  • Replies 4
  • Views 265
Re: htaccess, robots and Sitemap

no security need.
personally I cache the sitemap which helps if it is very large and you could do some restrictions on user-agent that only requests from search engines are honored as with large sitemaps it takes some processing and you do not want that done for any nosy bot or user out there.

Jump to post
  • Wed Mar 11, 2020 1:43 am
  • Replies 30
  • Views 1439
Re: It is possible to send the edit mail to 2 different emails?

I believe the additional alerts only apply to new orders, not order updates.

I tried it but no email was sended, not even the original.
So even the original is not send?
Did you check your event table if the mail_alert event is there?

Jump to post
  • Wed Mar 11, 2020 1:38 am
  • Replies 15
  • Views 965
Re: Pass data to model

I suggest you join that semester as INSERT into z SET x = y is perfectly ok.

Jump to post
  • Tue Mar 10, 2020 6:50 pm
  • Replies 7
  • Views 364
Re: SEO Friendly URL still a bug on some links?

just add the right information as query:

category is in there default

contact:
query = information/contact
keyword = what you like

seo urls for return, sitemap and logo?
are futile as those urls should not be indexed by search engines, even contact is arguable.

Jump to post
  • Tue Mar 10, 2020 3:59 pm
  • Replies 6
  • Views 272
Re: It is possible to send the edit mail to 2 different emails?

No need to create a new class instance.
all you have to do is:

after

Code: Select all

		$mail->setText($this->load->view('mail/order_edit', $data));
		$mail->send();

add

Code: Select all

$mymail="test@mail.com";
$mail->setTo($mymail);
$mail->send();

Jump to post
  • Tue Mar 10, 2020 2:28 am
  • Replies 15
  • Views 965
Re: Retrieve data from session array

The question is not about $this->session->data, it is about arrays.

A link has been provided by Johnathan, however, for the user to know more about sessions on the above.
That link is about arrays and not sessions.

Jump to post
  • Mon Mar 09, 2020 11:00 pm
  • Replies 5
  • Views 253
Re: Retrieve data from session array

come on gaven, this is the OC V3 support forum, not PHP 101.

Jump to post
  • Mon Mar 09, 2020 9:17 pm
  • Replies 5
  • Views 253
Re: htaccess, robots and Sitemap

is that now the
index.php?route=extension/feed/simple_google_sitemap or the
index.php?route=extension/feed/google_sitemap?

In any event looks like you have some © character in there somewhere.

Jump to post
  • Mon Mar 09, 2020 8:48 pm
  • Replies 30
  • Views 1439
Re: Product Cost and Backorder

Why would this need to be an “extension”? oh, the horror. OC is a general purpose e-commerce platform which caters to many kind of businesses. My opinion is the opposite, I believe OC has default functionality which should have been made only as extensions. Related products, affiliates, returns, pr...

Jump to post
  • Mon Mar 09, 2020 4:03 pm
  • Replies 3
  • Views 809
Re: Payment Methods will not show up even when enabled

Ive istalled the opencart on 2 websites to see if it was me but it does the same thing on both
Then it's you.

Futile to post the website link as this is about the admin side which nobody should have access to.
Make sure you have set your geo zones properly.

Jump to post
  • Mon Mar 09, 2020 3:42 pm
  • Replies 2
  • Views 265
Re: Option stocks not working properly

yes, options which have no stock and are set to subtract are not included in the display.

Code: Select all

if (!$option_value['subtract'] || ($option_value['quantity'] > 0)) {

Jump to post
  • Mon Mar 09, 2020 12:37 am
  • Replies 4
  • Views 338
Re: Random wrong invoice come through

personally I write all post records from account and checkout routes to a separate log specifically for these "random occurrences" so I can always go back and see what was posted by which form, ajax call or gateway.

Jump to post
  • Mon Mar 09, 2020 12:16 am
  • Replies 12
  • Views 677
Re: Upgrade to 3.x from 2.3?

I would only upgrade if you really need the added functionality of version 3.
I can't think of any.
https://multimerch.com/blog/opencart-3- ... rt-2-2018/

Jump to post
  • Mon Mar 09, 2020 12:05 am
  • Replies 2
  • Views 270
Re: Stock quantity colors on front-end

I don't think there is a css class for that. In the product controller you have: if ($product_info['quantity'] <= 0) { $data['stock'] = $product_info['stock_status']; } elseif ($this->config->get('config_stock_display')) { $data['stock'] = $product_info['quantity']; } else { $data['stock'] = $this->...

Jump to post
  • Sun Mar 08, 2020 11:55 pm
  • Replies 14
  • Views 732
Re: 3.0.2.0 Multiple Sessions Being Created Every Second

OK, but what was the explanation for the EXPORTED 10 orders with 0 successful, 0 ignored and 0 failed.?

Jump to post
  • Sun Mar 08, 2020 8:26 pm
  • Replies 25
  • Views 1045
Re: Clear or keep items in cart - User Defined

The lot is cleared in the checkout success controller: if (isset($this->session->data['order_id'])) { $this->cart->clear(); unset($this->session->data['shipping_method']); unset($this->session->data['shipping_methods']); unset($this->session->data['payment_method']); unset($this->session->data['paym...

Jump to post
  • Sun Mar 08, 2020 7:36 pm
  • Replies 3
  • Views 178
Re: How to make blocks in opencart version 3.0.2.0?

just look at one of the extension module views like bestseller or latest to see how it is done. They all have a structure like: <div class="row"> {% for x in y %} <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12"> [put the block code here] </div> {% endfor %} </div> you give it an array y and the co...

Jump to post
  • Sun Mar 08, 2020 4:06 pm
  • Replies 8
  • Views 587

Search found 88 matches