Перейти к содержанию

chixx

Пользователь
  • Постов

    230
  • Зарегистрирован

  • Посещение

  • Победитель дней

    17

Решения сообщества

  1. Пост chixx - сообщение в Закрыть в robots.txt параметры типа ?orderId=,?adposition=,?matchtype=,?etext=,?yadclid=,?yadclid=, и другие был отмечен как ответ   
    Вот так
    Clean-param: orderId
    Clean-param: etext
    Clean-param: yadclid
    Постоянно не придется, потому что не так их много будет на самом деле.
  2. Пост chixx - сообщение в Модуль по типу АОП - для загрузки прайсов или по ссылке xml был отмечен как ответ   
    да, я тоже заметил что модуль перестал работать. значит, видать, у всех. Но это не значит вообще ничего. С ocfiltrom так же было, автор просто давал новый ключ после обращения и все заного запускалось. А может с автором что-то произошло, но будем надеятся временно... Хотя я АОП уже давно не юзаю...
     
    Как вариант, вот еще модуль. Возможно подойдет
     
     
  3. Пост chixx - сообщение в Модуль сортировки по дате добавления был отмечен как ответ   
    Есть такой изучите, там впринципе можно разное, я юзал его
     
     
  4. Пост chixx - сообщение в Вывод категорий в карточке товара Опенкарт 3 был отмечен как ответ   
    В общем-то справился я.
    Для тех, кто тоже будет искать, что я делал:
    В catalog/controller/product/product.php после строки $product_info = $this->model_catalog_product->getProduct($product_id);
    Добавил
     
    Далее в catalog/language/*/product/product.php перед $_['text_manufacturer']
    Добавил
     
    Далее в catalog/view/theme/*/template/product/product.twig перед строкой {% if manufacturer %}
    Добавил
     
  5. Пост chixx - сообщение в Выгрузка фида currency id - OpenCart3x был отмечен как ответ   
    Спасибо, сам догадался.
    Надо вот так
    и все ок
  6. Пост chixx - сообщение в Добавить h1 для страницы "Акции" был отмечен как ответ   
    Вот так. Я там параллельно и дискрипшин и кейворд добавил. Берите что хотите)
     
    Идем в catalog/controller/product/special.php
     
     
    Далее идем catalog/language/ru-ru/product/special.php
     
    Теперь, чтобы в H1 было одно, в тайтл другое идем в catalog/view/theme/ВАША_ТЕМА/template/product/special.twig
     
    И все будет работать вот так



     
     
  7. Пост chixx - сообщение в Пропали права администратора был отмечен как ответ   
    Что делать сообразил. Меняем на
    {"access":["catalog\/attribute","catalog\/attribute_group","catalog\/category","catalog\/download","catalog\/filter","catalog\/information","catalog\/manufacturer","catalog\/option","catalog\/product","catalog\/recurring","catalog\/review","common\/column_left","common\/filemanager","customer\/custom_field","customer\/customer","customer\/customer_group","design\/banner","design\/language","design\/layout","design\/menu","design\/theme","design\/translation","event\/compatibility","event\/theme","extension\/analytics\/google_analytics","extension\/captcha\/basic_captcha","extension\/captcha\/google_captcha","extension\/dashboard\/activity","extension\/dashboard\/chart","extension\/dashboard\/customer","extension\/dashboard\/map","extension\/dashboard\/online","extension\/dashboard\/order","extension\/dashboard\/recent","extension\/dashboard\/sale","extension\/event","extension\/extension","extension\/extension\/analytics","extension\/extension\/captcha","extension\/extension\/dashboard","extension\/extension\/feed","extension\/extension\/fraud","extension\/extension\/module","extension\/extension\/payment","extension\/extension\/shipping","extension\/extension\/theme","extension\/extension\/total","extension\/feed\/google_base","extension\/feed\/google_sitemap","extension\/feed\/openbaypro","extension\/feed\/unisender","extension\/fraud\/fraudlabspro","extension\/fraud\/ip","extension\/fraud\/maxmind","extension\/installer","extension\/modification","extension\/module\/account","extension\/module\/affiliate","extension\/module\/amazon_login","extension\/module\/amazon_pay","extension\/module\/banner","extension\/module\/bestseller","extension\/module\/carousel","extension\/module\/category","extension\/module\/categoryproducts","extension\/module\/custom_template","extension\/module\/divido_calculator","extension\/module\/ebay_listing","extension\/module\/featured","extension\/module\/featured2","extension\/module\/featuredcarusel","extension\/module\/filter","extension\/module\/gallery_pro","extension\/module\/google_hangouts","extension\/module\/html","extension\/module\/information","extension\/module\/klarna_checkout_module","extension\/module\/latest","extension\/module\/laybuy_layout","extension\/module\/live_search","extension\/module\/maincategory","extension\/module\/newsblog_articles","extension\/module\/pilibaba_button","extension\/module\/pp_button","extension\/module\/pp_login","extension\/module\/products_from_cat","extension\/module\/sagepay_direct_cards","extension\/module\/sagepay_server_cards","extension\/module\/slideshow","extension\/module\/special","extension\/module\/store","extension\/openbay","extension\/openbay\/amazon","extension\/openbay\/amazon_listing","extension\/openbay\/amazon_product","extension\/openbay\/amazonus","extension\/openbay\/amazonus_listing","extension\/openbay\/amazonus_product","extension\/openbay\/ebay","extension\/openbay\/ebay_profile","extension\/openbay\/ebay_template","extension\/openbay\/etsy","extension\/openbay\/etsy_product","extension\/openbay\/etsy_shipping","extension\/openbay\/etsy_shop","extension\/openbay\/fba","extension\/payment\/amazon_login_pay","extension\/payment\/authorizenet_aim","extension\/payment\/authorizenet_sim","extension\/payment\/bank_transfer","extension\/payment\/bluepay_hosted","extension\/payment\/bluepay_redirect","extension\/payment\/cardconnect","extension\/payment\/cardinity","extension\/payment\/cheque","extension\/payment\/cod","extension\/payment\/divido","extension\/payment\/eway","extension\/payment\/firstdata","extension\/payment\/firstdata_remote","extension\/payment\/free_checkout","extension\/payment\/g2apay","extension\/payment\/globalpay","extension\/payment\/globalpay_remote","extension\/payment\/klarna_account","extension\/payment\/klarna_checkout","extension\/payment\/klarna_invoice","extension\/payment\/laybuy","extension\/payment\/liqpay","extension\/payment\/nochex","extension\/payment\/ocstore_payeer","extension\/payment\/ocstore_w1","extension\/payment\/ocstore_yk","extension\/payment\/ocstore_yk_company_AB","extension\/payment\/ocstore_yk_company_AC","extension\/payment\/ocstore_yk_company_EP","extension\/payment\/ocstore_yk_company_GP","extension\/payment\/ocstore_yk_company_MA","extension\/payment\/ocstore_yk_company_MC","extension\/payment\/ocstore_yk_company_MP","extension\/payment\/ocstore_yk_company_PB","extension\/payment\/ocstore_yk_company_PC","extension\/payment\/ocstore_yk_company_QW","extension\/payment\/ocstore_yk_company_SB","extension\/payment\/ocstore_yk_company_WM","extension\/payment\/ocstore_yk_physical_AC","extension\/payment\/ocstore_yk_physical_PC","extension\/payment\/oplata","extension\/payment\/paymate","extension\/payment\/paypoint","extension\/payment\/payza","extension\/payment\/perpetual_payments","extension\/payment\/pilibaba","extension\/payment\/pp_express","extension\/payment\/pp_payflow","extension\/payment\/pp_payflow_iframe","extension\/payment\/pp_pro","extension\/payment\/pp_pro_iframe","extension\/payment\/pp_standard","extension\/payment\/qiwi_rest","extension\/payment\/realex","extension\/payment\/realex_remote","extension\/payment\/sagepay_direct","extension\/payment\/sagepay_server","extension\/payment\/sagepay_us","extension\/payment\/sberbank_transfer","extension\/payment\/securetrading_pp","extension\/payment\/securetrading_ws","extension\/payment\/shoputils_ik","extension\/payment\/skrill","extension\/payment\/twocheckout","extension\/payment\/web_payment_software","extension\/payment\/webmoney_wmb","extension\/payment\/webmoney_wme","extension\/payment\/webmoney_wmk","extension\/payment\/webmoney_wmr","extension\/payment\/webmoney_wmu","extension\/payment\/webmoney_wmz","extension\/payment\/worldpay","extension\/shipping\/auspost","extension\/shipping\/by_total","extension\/shipping\/citylink","extension\/shipping\/fedex","extension\/shipping\/flat","extension\/shipping\/free","extension\/shipping\/item","extension\/shipping\/parcelforce_48","extension\/shipping\/pickup","extension\/shipping\/royal_mail","extension\/shipping\/track_no","extension\/shipping\/ups","extension\/shipping\/usps","extension\/shipping\/weight","extension\/store","extension\/theme\/theme_default","extension\/total\/coupon","extension\/total\/credit","extension\/total\/handling","extension\/total\/klarna_fee","extension\/total\/low_order_fee","extension\/total\/reward","extension\/total\/shipping","extension\/total\/sub_total","extension\/total\/tax","extension\/total\/total","extension\/total\/voucher","localisation\/country","localisation\/currency","localisation\/geo_zone","localisation\/language","localisation\/length_class","localisation\/location","localisation\/order_status","localisation\/return_action","localisation\/return_reason","localisation\/return_status","localisation\/stock_status","localisation\/tax_class","localisation\/tax_rate","localisation\/weight_class","localisation\/zone","marketing\/affiliate","marketing\/contact","marketing\/coupon","marketing\/marketing","module\/loadmore","newsblog\/article","newsblog\/category","octeam\/toolset","octeam_tools\/cache","octeam_tools\/seo_manager","report\/affiliate","report\/affiliate_activity","report\/affiliate_login","report\/customer_activity","report\/customer_credit","report\/customer_login","report\/customer_online","report\/customer_order","report\/customer_reward","report\/customer_search","report\/marketing","report\/product_purchased","report\/product_viewed","report\/sale_coupon","report\/sale_order","report\/sale_return","report\/sale_shipping","report\/sale_tax","sale\/order","sale\/recurring","sale\/return","sale\/voucher","sale\/voucher_theme","setting\/setting","setting\/store","startup\/compatibility","startup\/error","startup\/event","startup\/login","startup\/permission","startup\/router","startup\/sass","startup\/startup","tool\/backup","tool\/log","tool\/upload","user\/api","user\/user","user\/user_permission","extension\/module\/loadmore","extension\/module\/divido_calculator","extension\/module\/loadmore","extension\/module\/gallery_pro","extension\/module\/filter","extension\/module\/callback","tool\/export_import"],"modify":["catalog\/attribute","catalog\/attribute_group","catalog\/category","catalog\/download","catalog\/filter","catalog\/information","catalog\/manufacturer","catalog\/option","catalog\/product","catalog\/recurring","catalog\/review","common\/column_left","common\/filemanager","customer\/custom_field","customer\/customer","customer\/customer_group","design\/banner","design\/language","design\/layout","design\/menu","design\/theme","design\/translation","event\/compatibility","event\/theme","extension\/analytics\/google_analytics","extension\/captcha\/basic_captcha","extension\/captcha\/google_captcha","extension\/dashboard\/activity","extension\/dashboard\/chart","extension\/dashboard\/customer","extension\/dashboard\/map","extension\/dashboard\/online","extension\/dashboard\/order","extension\/dashboard\/recent","extension\/dashboard\/sale","extension\/event","extension\/extension","extension\/extension\/analytics","extension\/extension\/captcha","extension\/extension\/dashboard","extension\/extension\/feed","extension\/extension\/fraud","extension\/extension\/module","extension\/extension\/payment","extension\/extension\/shipping","extension\/extension\/theme","extension\/extension\/total","extension\/feed\/google_base","extension\/feed\/google_sitemap","extension\/feed\/openbaypro","extension\/feed\/unisender","extension\/fraud\/fraudlabspro","extension\/fraud\/ip","extension\/fraud\/maxmind","extension\/installer","extension\/modification","extension\/module\/account","extension\/module\/affiliate","extension\/module\/amazon_login","extension\/module\/amazon_pay","extension\/module\/banner","extension\/module\/bestseller","extension\/module\/carousel","extension\/module\/category","extension\/module\/categoryproducts","extension\/module\/custom_template","extension\/module\/divido_calculator","extension\/module\/ebay_listing","extension\/module\/featured","extension\/module\/featured2","extension\/module\/featuredcarusel","extension\/module\/filter","extension\/module\/gallery_pro","extension\/module\/google_hangouts","extension\/module\/html","extension\/module\/information","extension\/module\/klarna_checkout_module","extension\/module\/latest","extension\/module\/laybuy_layout","extension\/module\/live_search","extension\/module\/maincategory","extension\/module\/newsblog_articles","extension\/module\/pilibaba_button","extension\/module\/pp_button","extension\/module\/pp_login","extension\/module\/products_from_cat","extension\/module\/sagepay_direct_cards","extension\/module\/sagepay_server_cards","extension\/module\/slideshow","extension\/module\/special","extension\/module\/store","extension\/openbay","extension\/openbay\/amazon","extension\/openbay\/amazon_listing","extension\/openbay\/amazon_product","extension\/openbay\/amazonus","extension\/openbay\/amazonus_listing","extension\/openbay\/amazonus_product","extension\/openbay\/ebay","extension\/openbay\/ebay_profile","extension\/openbay\/ebay_template","extension\/openbay\/etsy","extension\/openbay\/etsy_product","extension\/openbay\/etsy_shipping","extension\/openbay\/etsy_shop","extension\/openbay\/fba","extension\/payment\/amazon_login_pay","extension\/payment\/authorizenet_aim","extension\/payment\/authorizenet_sim","extension\/payment\/bank_transfer","extension\/payment\/bluepay_hosted","extension\/payment\/bluepay_redirect","extension\/payment\/cardconnect","extension\/payment\/cardinity","extension\/payment\/cheque","extension\/payment\/cod","extension\/payment\/divido","extension\/payment\/eway","extension\/payment\/firstdata","extension\/payment\/firstdata_remote","extension\/payment\/free_checkout","extension\/payment\/g2apay","extension\/payment\/globalpay","extension\/payment\/globalpay_remote","extension\/payment\/klarna_account","extension\/payment\/klarna_checkout","extension\/payment\/klarna_invoice","extension\/payment\/laybuy","extension\/payment\/liqpay","extension\/payment\/nochex","extension\/payment\/ocstore_payeer","extension\/payment\/ocstore_w1","extension\/payment\/ocstore_yk","extension\/payment\/ocstore_yk_company_AB","extension\/payment\/ocstore_yk_company_AC","extension\/payment\/ocstore_yk_company_EP","extension\/payment\/ocstore_yk_company_GP","extension\/payment\/ocstore_yk_company_MA","extension\/payment\/ocstore_yk_company_MC","extension\/payment\/ocstore_yk_company_MP","extension\/payment\/ocstore_yk_company_PB","extension\/payment\/ocstore_yk_company_PC","extension\/payment\/ocstore_yk_company_QW","extension\/payment\/ocstore_yk_company_SB","extension\/payment\/ocstore_yk_company_WM","extension\/payment\/ocstore_yk_physical_AC","extension\/payment\/ocstore_yk_physical_PC","extension\/payment\/oplata","extension\/payment\/paymate","extension\/payment\/paypoint","extension\/payment\/payza","extension\/payment\/perpetual_payments","extension\/payment\/pilibaba","extension\/payment\/pp_express","extension\/payment\/pp_payflow","extension\/payment\/pp_payflow_iframe","extension\/payment\/pp_pro","extension\/payment\/pp_pro_iframe","extension\/payment\/pp_standard","extension\/payment\/qiwi_rest","extension\/payment\/realex","extension\/payment\/realex_remote","extension\/payment\/sagepay_direct","extension\/payment\/sagepay_server","extension\/payment\/sagepay_us","extension\/payment\/sberbank_transfer","extension\/payment\/securetrading_pp","extension\/payment\/securetrading_ws","extension\/payment\/shoputils_ik","extension\/payment\/skrill","extension\/payment\/twocheckout","extension\/payment\/web_payment_software","extension\/payment\/webmoney_wmb","extension\/payment\/webmoney_wme","extension\/payment\/webmoney_wmk","extension\/payment\/webmoney_wmr","extension\/payment\/webmoney_wmu","extension\/payment\/webmoney_wmz","extension\/payment\/worldpay","extension\/shipping\/auspost","extension\/shipping\/by_total","extension\/shipping\/citylink","extension\/shipping\/fedex","extension\/shipping\/flat","extension\/shipping\/free","extension\/shipping\/item","extension\/shipping\/parcelforce_48","extension\/shipping\/pickup","extension\/shipping\/royal_mail","extension\/shipping\/track_no","extension\/shipping\/ups","extension\/shipping\/usps","extension\/shipping\/weight","extension\/store","extension\/theme\/theme_default","extension\/total\/coupon","extension\/total\/credit","extension\/total\/handling","extension\/total\/klarna_fee","extension\/total\/low_order_fee","extension\/total\/reward","extension\/total\/shipping","extension\/total\/sub_total","extension\/total\/tax","extension\/total\/total","extension\/total\/voucher","localisation\/country","localisation\/currency","localisation\/geo_zone","localisation\/language","localisation\/length_class","localisation\/location","localisation\/order_status","localisation\/return_action","localisation\/return_reason","localisation\/return_status","localisation\/stock_status","localisation\/tax_class","localisation\/tax_rate","localisation\/weight_class","localisation\/zone","marketing\/affiliate","marketing\/contact","marketing\/coupon","marketing\/marketing","module\/loadmore","newsblog\/article","newsblog\/category","octeam\/toolset","octeam_tools\/cache","octeam_tools\/seo_manager","report\/affiliate","report\/affiliate_activity","report\/affiliate_login","report\/customer_activity","report\/customer_credit","report\/customer_login","report\/customer_online","report\/customer_order","report\/customer_reward","report\/customer_search","report\/marketing","report\/product_purchased","report\/product_viewed","report\/sale_coupon","report\/sale_order","report\/sale_return","report\/sale_shipping","report\/sale_tax","sale\/order","sale\/recurring","sale\/return","sale\/voucher","sale\/voucher_theme","setting\/setting","setting\/store","startup\/compatibility","startup\/error","startup\/event","startup\/login","startup\/permission","startup\/router","startup\/sass","startup\/startup","tool\/backup","tool\/log","tool\/upload","user\/api","user\/user","user\/user_permission","extension\/module\/loadmore","extension\/module\/divido_calculator","extension\/module\/loadmore","extension\/module\/gallery_pro","extension\/module\/filter","extension\/module\/callback","tool\/export_import"]} И права возвращаются.
    Вопрос, почему права сменились) Причем только у администраторов, у другого юзера права не поменялись
  8. Пост chixx - сообщение в Сохранение названия в хлебных крошках при переименовании категорий в opencart был отмечен как ответ   
    Легко, там не сложно. Идем /catalog/controller/product
    Находим файл category.php
    Там находим строчку
    $data['breadcrumbs'][] = array( 'text' => $category_info['name'], 'href' => $this->url->link('product/category', 'path=' . $path . $url)  
    И дальше меняем ['name'] на ваш вариант в зависимости от версии. Там может быть seo_h1, meta_h1 и т.д.
    В итоге получаем, в моем случае, вот так
    $data['breadcrumbs'][] = array( 'text' => $category_info['h1'], 'href' => $this->url->link('product/category', 'path=' . $path . $url)  
    Далее находим строчку
    $data['breadcrumbs'][] = array( 'text' => $category_info['name'], 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'])  
    И меняем по тому же принципу, в моем случае
    $data['breadcrumbs'][] = array( 'text' => $category_info['h1'], 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'])  
    Потом идем в файл product.php и там меняем по тому же принципу. Не забываем обновлять модификаторы и чистить кэш.
     
    И вуаля, подставляется вместо названия категории мета h1. Обращаю внимание, у меня версия Опенкарт 3.0 в других версиях логика такая же.
     
    Еще важный момент, если не стоит модификатора h1 для категории, метод работать не будет, потому что в данном случае h1 будет название категории. Пользуйтесь. Поможет в работе с облаком тегов, если кто-то задался вопросом зачем)
×
×
  • Создать...