Pokud chcete crontab, tak na linuxu crontab -e a přidat řádek s časem spouštění a cestou k feedu
Visit OpencartEx - Opencart extensions
Opencart rady a návody česky | Podpora Opencart
I don't use .htaccess, so I am not able to help you.dogacankanat wrote:Is there something wrong with this .htaccess file? Should i add/delete/change anything else?
Yes, it's rights.dogacankanat wrote:- Now i understood that i have to use SEO URL without Czech characters.
Instead of this:It must be like this:Code: Select all
http://www.seherezad.cz/turecké-skleničky-na-čaj-s-kapkami
Am i right?Code: Select all
http://www.seherezad.cz/turecke-sklenicky-na-caj-s-kapkami
I don't know why, but you can modifydogacankanat wrote:Moreover i discovered following problems:
- zbozicz.xml takes images of my products from /image/cache/data folder instead of /image/data.
such as:i guess it must be:Code: Select all
http://www.seherezad.cz/image/cache/data/masa_ortusu_transparan_kahvebeyaz_diktorgensekiller_001-120x120.jpg
Is it ok? Where is the problem? In product pages images are visible, there aren't any problems. However, when i type these image addresses alone to the address bar it gives me 404 page not foundCode: Select all
http://www.seherezad.cz/image/data/masa_ortusu_transparan_kahvebeyaz_diktorgensekiller_001-120x120.jpg
Code: Select all
define('HTTP_IMAGE', HTTP_SERVER . 'image/cache/');
Code: Select all
define('HTTPS_IMAGE', HTTPS_SERVER . 'image/');
My XML is not output of this php script - I used this XML output only as source for next XSL transformations (for zbozi.cz and for heureka.cz), so you can't compare it.dogacankanat wrote:- Moreover i checked zbozicz.xml on berushka's e-shop (by the way it's a nice site for fans of hot wheels) and in his code of a product is like this...
berushka .::: Hot Wheels Shop
I think the last one export script is better than previous ones, but... You may need to change export.php itself and/or products or other tables in admin section, because there are a lot of configuration possibilities which (could) have influence to export execution; for example language definition, currency definition, product state definitions and so on. And for finally there could be error in script itselfdogacankanat wrote:Let's say i have the default-clean installation of Opencart 1.4.9.3.
If i want to use your export.php file which you posted as export-011.zip in this forum, what i have to do?
Is it enough just to upload export.php to the home folder of my shop or do i have to edit something in any other file or in export.php itself?
If that export-011.zip you posted is not the right one for me, which one i have to download to send feeds to heureka and zbozi?

I tried to analyse missing <PRODUCTNAME> and this element is filled with contents of item meta description (in czech Meta Tag popis) on product page, which I suppose you didn't enter. But for more detailed analyse is needed more time and probably access to your SQL database.
berushka .::: Hot Wheels Shop
Stale aktualni? Asi to nechapu. Jak docilim toho aby se XML soubor neustale akutalizoval?
Myslel sem ze staci pridat radek do .htaccess, ale zadny xml soubor se mi nevytovri. Vytovril sem tedy zbozicz.xml na serveru, ale i tak je porad prazdny...
Nebo sem to cely spatne pochopil?
Musim tedy po kazde zmene v produktech na shopu spustut zbozicz.php a rucne vykopirovat data a vlozit do xml souboru a ten pak hodit na server???
Diky,
K.
Když nastavíte v htaccess alias na ten skript, tak zbozi bude automaticky přes xml tahat aktuální data. Nic se nikam neukládá, nic se nespouští, nic neřešíte.
Visit OpencartEx - Opencart extensions
Opencart rady a návody česky | Podpora Opencart
Zrušit funkci round ve skriptu.nnestor wrote:ahojte. Mam taky problem s PRICE VAT. potreboval by som docielit aby sa cena zobrazovala normalne, teraz sa nejak zaokruhluje. ako by sa to dalo urobit?namiesto 34.90 vypise 35. diky moc
Visit OpencartEx - Opencart extensions
Opencart rady a návody česky | Podpora Opencart
Ahaaaaa! Už to funguje! Díky za vysvětlení!hawkey wrote:špatně to chápete.
Když nastavíte v htaccess alias na ten skript, tak zbozi bude automaticky přes xml tahat aktuální data. Nic se nikam neukládá, nic se nespouští, nic neřešíte.

K.
Code: Select all
if (!$product['tax_class_id']==0) {
$shopitem .= "<PRICE>".$product['price'] * $curr_factor."</PRICE>\n";
$shopitem .= "<VAT>".$product['rate']."</VAT>\n";
$shopitem .= "<PRICE_VAT>".ceil($product['price'] * $curr_factor + (($product['price'] * $curr_factor) * $product['rate'] / 100))."</PRICE_VAT>\n";
} else {
$shopitem .= "<PRICE_VAT>".$product['price'] * $curr_factor."</PRICE_VAT>";
}
Code: Select all
$shopitem .= "<PRICE_VAT>".round($product['price'] * $curr_factor + $product_option['price'] * $curr_factor, 2)."</PRICE_VAT>";
Visit OpencartEx - Opencart extensions
Opencart rady a návody česky | Podpora Opencart
zrovna jsem si nahrál zbozicz_feed.php z zbozicz_2010_009.zip do rootu Opencart a pak jsem přidal kód do .htaccess. Funguje to (doufám) dobře, ale až na jeden malej problém. Když otevřu XML, tak vydím mezi řádky
Code: Select all
<b>Notice</b>
: Undefined index: 109 in
<b>
/var/www/web5/spravnadomacnost.cz/spravnadomacnost.cz/zbozicz_feed.php
</b>
on line
<b>173</b>
Nevíte si s tím rady?
Jinak používám Opencart 1.4.9.3 a hosting je FORPSI. Stránky: http://www.spravnadomacnost.cz
Doufám, že je to vše co potřebujete a díky předem za pomoc.
Visit OpencartEx - Opencart extensions
Opencart rady a návody česky | Podpora Opencart
Tak bud je přidejte nebo změnte řádek
Code: Select all
if($urls[$product['product_id']]) {
Code: Select all
if(isset($urls[$product['product_id']]) && $urls[$product['product_id']]) {
Visit OpencartEx - Opencart extensions
Opencart rady a návody česky | Podpora Opencart
Pak v nastavení zapnout SEO adresy a přejmenovat htaccess.txt v hlavním adresáři na .htaccess
Visit OpencartEx - Opencart extensions
Opencart rady a návody česky | Podpora Opencart
skusim pouzivat export.php, ale dostanem chybu:
"
<?xml version="1.0" encoding="utf-8"?>
<SHOP>
Error: Something is wrong in your syntax bl m ON (m.manufacturer_id = p.manufacturer_id )
LEFT JOIN dbname(SELECT * FROM product_special WHERE (date_start = '0000-00-00' OR date_start <= NOW()) AND (date_end = '0000-00-00' OR date_end >= NOw())) ps ON (ps.product_id = p.product_id AND ps.customer_group_id=8)
WHERE p.price>0 AND l.code='sk' AND p.status=1 GROUP BY p.product_id
Kde je chyba?

Users browsing this forum: No registered users and 5 guests