Search found 66 matches

Search found 66 matches

Keeping Google Bot happy and end user happy

Version 3.0.3.2 Default template If I'm trying to sell some red shoes and they were in stock and the next day they are not in stock. There are two ways of doing things. Setting the Status of the red shoes to 0. When a customer looks at my website the red shoes have disappeared. However the Google bo...

Jump to post
  • Tue May 04, 2021 9:26 pm
  • Replies 2
  • Views 304
Re: Which twig file?

I fixed it.

Although mod_rewrite was installed it still didn't do anything.

In order for mod_rewrite to do anything I needed to edit /etc/apache2/sites-available/000-default.conf by adding the following code at the bottom.

Code: Select all

<directory /var/www/html>
   AllowOverride All
</directory>

Jump to post
  • Wed Apr 28, 2021 1:47 am
  • Replies 23
  • Views 2823
Re: Which twig file?

I've just double checked all the values in the oc_seo_url table and ... they are unique every category has a entry for each language every product has a entry for each language every manufacturer has a entry for each language every information page has a entry for each language Also... I've also mad...

Jump to post
  • Tue Apr 27, 2021 9:58 pm
  • Replies 23
  • Views 2823
Re: Which twig file?

So I'm going to guess that the .htaccess might not be where the problem is. What else do I need to check in the oc_seo_url table? The keywords need to be unique across all languages (I just have English and German). All the spaces have been replaced with "-" Non-ascii characters have been ...

Jump to post
  • Tue Apr 27, 2021 6:25 pm
  • Replies 23
  • Views 2823
Re: Which twig file?

I'm using webmin to manage my server.

Jump to post
  • Tue Apr 27, 2021 5:58 pm
  • Replies 23
  • Views 2823
Re: Which twig file?

Didn't work.

Should .htaccess be located in /var/www/html/ or /var/www/html/shop/

Because my website is in a subdomain shop https://www.gwenllian-retail.com/shop

Jump to post
  • Tue Apr 27, 2021 5:56 pm
  • Replies 23
  • Views 2823
Re: Which twig file?

I created my own robots.txt file could that be a problem? Or doesn't it have anything to do with SEO?

Jump to post
  • Tue Apr 27, 2021 5:20 pm
  • Replies 23
  • Views 2823
Re: Which twig file?

The problem I have now is when I switch on seo I get 404 page not found. I just can't get this SEO to work. I've written above all the things I've check and I can't think what else it could be. And I can see anything on Google that it could be. My .htacess file looks OK. My the oc_seo_url table has ...

Jump to post
  • Tue Apr 27, 2021 5:18 pm
  • Replies 23
  • Views 2823
Re: Which twig file?

Is the Apache module mod_rewrite the same as mod-rewrite?

Could that be my problem?

Jump to post
  • Tue Apr 27, 2021 3:49 pm
  • Replies 23
  • Views 2823
Re: Which twig file?

Version 3.0.3.2 Default template When I switch to "Use SEO URLs" my site stops working. (I leave it switched off unless I'm testing.) .htaccess I've edited the .htaccess so that the / is now /shop/ SEO-definitions All of my categories, products and manufacturers have unique keywords withou...

Jump to post
  • Tue Apr 27, 2021 3:45 pm
  • Replies 23
  • Views 2823
Re: Which twig file?

Now things are making more sense. I've automated loading up all the data from my supplier but I didn't populate the table oc_seo_url correctly. I put the manufacturer and the products in there but I didn't do the categories. I've spent my time looking at fixing the configuration of the .htaccess fil...

Jump to post
  • Tue Apr 27, 2021 1:15 am
  • Replies 23
  • Views 2823
Re: Which twig file?

Now things make sense. I was wondering what made everything go wrong.

I switched "Use SEO URLs" to "yes" and I didn't think anything of this. However this was just before I noticed the problem.

So I need to check the apache module mod-rewrite.

Jump to post
  • Mon Apr 26, 2021 11:15 pm
  • Replies 23
  • Views 2823
Re: Which twig file?

I know normally it's https://www.gwenllian-retail.com/shop/index.php?route=product/product&path=32_37&product_id=3043 But I just did anything to get my shop working again. And I could easily generate this text "?route=product/product&product_id=3043" I didn't see where the php ...

Jump to post
  • Mon Apr 26, 2021 10:32 pm
  • Replies 23
  • Views 2823
Re: Which twig file?

Yes... I've found out it's being set in line 206 of /catalog/controller/product/category.php 'href' => $this->url->link('product/product', 'path=' . $this->request->get['path'] . '&product_id=' . $result['product_id'] . $url) But this is the wrong value so where does the $this->url->link functio...

Jump to post
  • Mon Apr 26, 2021 8:32 pm
  • Replies 23
  • Views 2823
[SOLVED] Which twig file?

I need to fix a twig file but I don't know which one. When looking at the products in a category if you click on a product then the URL is wrong, it's put the product name into the URL. https://www.gwenllian-retail.com/shop/index.php?route=product/category&path=32_37 I can't remember which twig ...

Jump to post
  • Mon Apr 26, 2021 7:32 pm
  • Replies 23
  • Views 2823
EU law - Delivery needs to be tax free if lighter than 10 kg

Delivery of goods gets charged 19% tax if the goods are 10kg heavy or more. However there is a EU law that covers all of the EU. https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=LEGISSUM%3Al24166 So goods that weigh less than 10kg will be tax. (Question 1) Have I miss understood this EU law? (Que...

Jump to post
  • Tue Apr 20, 2021 9:10 pm
  • Replies 1
  • Views 335
Re: Admin redirects

Fixed it. The extension for whitelist had blocked me. Thankfully when I setup the extension I added two devices that use different IP addresses. All my devices that connect through my wifi router show the same IP address and that IP address had changed. Obviously my mobile uses a different IP addres...

Jump to post
  • Sat Apr 17, 2021 11:58 pm
  • Replies 1
  • Views 450
Admin redirects

Version 3.0.3.2 When i go into Admin I get redirected. Firefox shows there is a http code 303 https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/303 on the directory /shop/admin/ which just means redirect. Everything was fine, I was changing the CSS on my cookie warning. And I changed the html...

Jump to post
  • Sat Apr 17, 2021 6:39 pm
  • Replies 1
  • Views 450
German number format and PayPal Express Checkout

I've been testing my invoicing and in the sandbox environment I've entered in a purchase of over 1000 Euro's. In Germany the thousand separator is a full stop and the decimal point is the comma (the opposite the the UK or US). When I click on Sales --> Orders and select the order I want to view at t...

Jump to post
  • Mon Mar 29, 2021 11:19 pm
  • Replies 1
  • Views 278
Invoice language

Version 3.0.3.2 When a customer buys some goods it sets values in the table oc_order_total for the Sub-Total, Total, Shipping and VAT. So the language setting of the customer is used. Then I (the retailer) print out a invoice (I'm based in Germany), my customers will have to send their invoices to t...

Jump to post
  • Mon Mar 29, 2021 7:49 pm
  • Replies 1
  • Views 498

Search found 66 matches