opencart

Different links for a product is beneficial or harmful for seo?

北慕城南 提交于 2019-12-10 20:05:41
问题 Opencart produces different links for a product like: website.com/product_name website.com/category/product_name website.com/category/subcategory/product_name website.com/brand/product_name etc. It is based on the listing page which you reach to product. My question is that, using different links for a product/content is beneficial or harmful for seo? I will make it one link if it is harmful or unnecessary. 回答1: Personally I find it bad for SEO. From what Google says, it really doesn't matter

Is it possible to require a login for an OpenCart Information page, and ONLY the information page?

会有一股神秘感。 提交于 2019-12-10 17:49:45
问题 I see many extensions that make you log in before viewing the products and such, but I only want to restrict access to a certain page that I created by creating a new information page. Is this possible? I am also not very proficient with php so please tell me which files I should be editing and where. Thanks in advance. 回答1: Try adding this at the top of controller/information/information.php straight after the index() function declaration and replace {ID} with the ID of the page you want to

Fatal error: Call to undefined function utf8_substr() Opencart

梦想的初衷 提交于 2019-12-10 14:57:33
问题 My site was working fine from last 2 3 months but now it shows 500 Server error message. Then I saw the error.log file it says that PHP Fatal error: Call to undefined function utf8_substr() in public_html/catalog/model/tool/image.php on line 11 And the code at the given location is: $new_image = 'cache/' . utf8_substr($filename, 0, utf8_strrpos($filename, '.')) . '-' . $width . 'x' . $height . '.' . $extension; Then I thought may be its because of cache and then I cleared the cache and still

Shine OpenCart 自适应 多用途主题模板 ABC-0021

房东的猫 提交于 2019-12-10 13:50:21
SHINE OPENCART 自适应 多用途主题模板 ABC-0021 Shine is a responsive multipurpose OpenCart theme which is fully customizable and suitable for any kind of OpenCart store on any device. This responsive theme is a general purpose responsive theme which can be highly customized and tailored for any heavy OpenCart store. This OpenCart theme is designed and tested to be 100% responsive so it works & displays flawlessly on all types of devices including smart phones and tablets. AUTOMATIC SCREEN SIZE ADJUSTMENT This OpenCart theme is structured so that it automatically adapts to the screen size of a device

OpenCart高级搜索引擎优化(SEO PACK PRO)

我怕爱的太早我们不能终老 提交于 2019-12-10 13:32:06
OPENCART高级搜索引擎优化(SEO PACK PRO) 是时候将您的网站进行高级搜索引擎优化了! Ope ncart高级搜索引擎优化( SEO PACK PRO)扩充功能包含所所有有关 Opencart SEO 搜索引擎的相关扩充功能: 1. Keywords Generator for all products 2. Meta Description Generator 3. Related Products Generator 4. Tag Generator 5. Product SEO Plus 2 more SEO features 6. Canonical Categories 7. Canonical Brands 8. Friendly SEO URLS Generator 9. SEO Friendly URLs 10. Custom Titles 11. Clear SEO 12. SEO Report 13. SEO Friendly Image Names generator 14. Auto Internal Links 15. Advanced SEO Editor 16. Multi-Language SEO URLs + Multi Language Sitemaps 17. Home Page - Meta Keywords 18. SEO

Opencart Fatal error: Call to a member function get() on a non-object

跟風遠走 提交于 2019-12-10 12:38:09
问题 Trying to move from local host to new server. Fresh install worked fine, no problems. When I uploaded my files mydomain.com/admin comes up with a white screen and mydomain.com produces this error: Fatal error: Call to a member function get() on a non-object in /home4/pawpostc/public_html/index.php on line 103. So I took a look at index.php line 103: if ($config->get('config_error_display')) { echo '<b>' . $error . '</b>: ' . $errstr . ' in <b>' . $errfile . '</b> on line <b>' . $errline . '<

Opencart get product downloads

耗尽温柔 提交于 2019-12-10 12:09:40
问题 I want to add a new tab into the products page allowing logged in customers to directly download from product page. At first this seems simple, but it seems that opencart is missing the download_id from order_download table so maybe I am doing this all wrong. UPDATE : Been doing some digging into the admin and find that opencart is actually using the filename instead of download_id so guess I will have to use that. E.g: $this->db->query("UPDATE " . DB_PREFIX . "order_download SET `filename` =

Opencart: Master product list, multiple slave sites possible?

僤鯓⒐⒋嵵緔 提交于 2019-12-10 12:08:58
问题 One of my B2B partners asked me a question today. I enjoyed the whooshing sound it made as it went over my head, since I've never even looked at a line of code from OpenCart. I suggested to him that I could post it here, where the experts live. Check it out: I am looking at opencart as a solution for a development project that we have and I wanted to know if anyone knows if it is possible to setup OpenCart as a master/slave configuration. All sites will be on the same server with different

How to update customer TIN Number in Opncart

被刻印的时光 ゝ 提交于 2019-12-10 12:03:00
问题 Am new in Opencart MVC , I have page called my_account.tpl. In this page am displaying customer name and tin_number . If customers want to change their tin_number just fill the TIN Number field and click save, it will update oc_customer tabel. I tried but data's not update. Following view, model and controller codes View: my_account.tpl <form action="<?php echo $action;?>" method="POST" enctype="multipart/form-data" class="form-horizontal"> <div class="col-md-9 col-lg-6 col-sm-12"> <?php

OpenCart: How to make a global variable?

为君一笑 提交于 2019-12-10 11:28:50
问题 I am trying to make two global variables within OpenCart. I basically want to be able to declare them in any of my .tpl files <?php echo $global1; ?> I have tried editing, library/system.php and also config.php by adding $global1="test" inside my files. However calling that in .tpl files is not working? Example, look at the file below, I want to be able to call these variables anytime.. do I have to edit config.php or what?? The example shows the $header call which is used on every .tpl file.