Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Модуль OCU Waitlist - уведомление на email при поступлении товара [Подгдержка]


Recommended Posts

ребят, а кто-нить победил регистрацию?

или может кто похожий модуль нашел, даже если платный, но без регистрации?

Link to comment
Share on other sites


  • 1 month later...
  • 5 weeks later...

Добавьте в контроллер админский

 

вот икой метод, чтобы иблица автоматом создавалась

		public function install() {
		
				$sql = "CREATE TABLE IF NOT EXISTS " . DB_PREFIX ."waitlist (
			`customer_id` int(11) NOT NULL,
			`product_id` int(11) NOT NULL,
			`date_added` datetime NOT NULL,
			PRIMARY KEY (`customer_id`,`product_id`)
			) ENGINE=MyISAM DEFAULT CHARSET=utf8";
			
			$query = $this->db->query($sql);
	
	
	}
Link to comment
Share on other sites

  • 2 weeks later...

Вопрос по модулю.

Почти весь товар в налилии отсутствует. Есть доп-ситусы товара, предзаказ или досивка 1-2 дня.

К.О. Дорилиить чтобы логика рилиила от ситуса а не от когдачества?

 

Посмотрел внутрь кода, я ик понимаю проверка в одному месте идёт? По игдее не сложно дорилиить?

 

                    <![CDATA[
                        foreach ($products as $product) {
                            if ($product['quantity'] > 0) {
                                $this->load->model('tool/waitlist');
                                $data['quantity'] = (int) $product['quantity'];
                                $this->model_tool_waitlist->notify($product['product_id'], $data);
                            }

Link to comment
Share on other sites


  • 4 weeks later...
  • 3 weeks later...

После обновления сайи на Версию 1.5.5.1.2 модуль не рилииет. Уведомление не приходят ситус товара в модуле при изменении когдачества не меняется. В чем может быть проблема ?  http://joxi.ru/6h32U_3JTJB-edaNwlk

Модуль переусиновил, запрос заново сгделал. Кнопка уведомить есть, товар в список добавляется но и все после этого (. 

Link to comment
Share on other sites


ну как сгделать после обновления оситков чтобы

не слало кучу нотификаций одному клиенту

 

т.е. 1 письмо = 1 товар.

В итоге покупателю приходит 10 писем об 10 товаров..

в игдено - 1 письмо  = согдержит информацию об поступлении 10 товаров

 

кто может дорилииет $ ?

Link to comment
Share on other sites


Не получается подружить сей чугдесный модуль с filterpro 2.3.10 им просто нет тех фалов и полей, что указаны в vQmod

Link to comment
Share on other sites


  • 2 months later...

вообещём модуль не дорабатывается :cry: Было собрался усинавливать, но полиил тему и пригдется возгдержаться. Автор сгделай модуль платным и развивай дное.

Link to comment
Share on other sites


  • 1 month later...
  • 2 weeks later...

Я тоже хочу икое - и платное!

бесплатное это - злой сыр в мышеловке)

есть альтернатива, правда разрилитка забугорная, уже посивил на сайт, перевел, все рилииет.

Link to comment
Share on other sites


  • 2 months later...

Закинул в папку. переходишь в категории пишет:

 

Notice: Error: Table 'gryides91_reklam.oc_waitlist' doesn't exist
Error No: 1146
SELECT * FROM oc_waitlist WHERE customer_id = '0' AND product_id = '81' LIMIT 1 in /home/g/gryides91/reklama.ru/public_html/system/database/mysql.php on line 50

 

ЧТО ЭТО? И КАК ИСПРАВИТЬ?

Link to comment
Share on other sites


у меня вот икая структура иблицы. КАКОЙ ЗАПРОС ДЕЛАТЬ? а то я не понимаю.

 

  

   

    Новая

 

   

    category_description

   

   

    key_abuses

   

   

    oc_abuses

   

   

    oc_address

   

   

    oc_address_simple_fields

   

   

    oc_affiliate

   

   

    oc_affiliate_transaction

   

   

    oc_attribute

   

   

    oc_attribute_description

   

   

    oc_attribute_group

   

   

    oc_attribute_group_description

   

   

    oc_banner

   

   

    oc_banner_image

   

   

    oc_banner_image_description

   

   

    oc_category

    

   

    oc_category_description

   

   

    oc_category_filter

   

   

    oc_category_path

   

   

    oc_category_to_layout

   

   

    oc_category_to_store

   

   

    oc_country

   

   

    oc_coupon

   

   

    oc_coupon_category

   

   

    oc_coupon_history

   

   

    oc_coupon_product

   

   

    oc_currency

   

   

    oc_customer

   

   

    oc_customer_ban_ip

   

   

    oc_customer_field

   

   

    oc_customer_group

   

   

    oc_customer_group_description

   

   

    oc_customer_history

   

   

    oc_customer_ip

   

   

    oc_customer_online

   

   

    oc_customer_reward

   

   

    oc_customer_simple_fields

   

   

    oc_customer_transaction

   

   

    oc_custom_field

   

   

    oc_custom_field_description

   

   

    oc_custom_field_to_customer_group

   

   

    oc_custom_field_value

   

   

    oc_custom_field_value_description

   

   

    oc_download

   

   

    oc_download_description

   

   

    oc_extension

   

   

    oc_filter

   

   

    oc_filter_description

   

   

    oc_filter_group

   

   

    oc_filter_group_description

   

   

    oc_geo_zone

   

   

    oc_information

   

   

    oc_information_description

   

   

    oc_information_to_layout

   

   

    oc_information_to_store

   

   

    oc_key

   

   

    oc_language

   

   

    oc_layout

   

   

    oc_layout_route

   

   

    oc_length_class

   

   

    oc_length_class_description

   

   

    oc_manufacturer

   

   

    oc_manufacturer_description

   

   

    oc_manufacturer_to_store

   

   

    oc_option

   

   

    oc_option_description

   

   

    oc_option_value

   

   

    oc_option_value_description

   

   

    oc_order

   

   

    oc_order_download

   

   

    oc_order_field

   

   

    oc_order_fraud

   

   

    oc_order_history

   

   

    oc_order_option

   

   

    oc_order_product

   

   

    oc_order_simple_fields

   

   

    oc_order_status

   

   

    oc_order_total

   

   

    oc_order_voucher

   

   

    oc_pagemenu

   

   

    oc_pagemenu_description

   

   

    oc_pagemenu_to_layout

   

   

    oc_pagemenu_to_store

   

   

    oc_product

   

   

    oc_product_attribute

   

   

    oc_product_description

   

   

    oc_product_discount

   

   

    oc_product_filter

   

   

    oc_product_image

   

   

    oc_product_option

   

   

    oc_product_option_value

   

   

    oc_product_related

   

   

    oc_product_reward

   

   

    oc_product_special

   

   

    oc_product_to_category

   

   

    oc_product_to_download

   

   

    oc_product_to_layout

   

   

    oc_product_to_store

   

   

    oc_redirect

   

   

    oc_relatedoptions

   

   

    oc_relatedoptions_option

   

   

    oc_relatedoptions_variant

   

   

    oc_relatedoptions_variant_option

   

   

    oc_relatedoptions_variant_product

   

   

    oc_return

   

   

    oc_return_action

   

   

    oc_return_history

   

   

    oc_return_reason

   

   

    oc_return_status

   

   

    oc_review

   

   

    oc_setting

   

   

    oc_stock_status

   

   

    oc_store

   

    

    oc_suppler

   

   

    oc_suppler_attributes

   

   

    oc_suppler_base_price

   

   

    oc_suppler_data

   

   

    oc_suppler_options

   

   

    oc_suppler_price

   

   

    oc_suppler_ref

   

   

    oc_suppler_seo

   

   

    oc_suppler_sku

   

   

    oc_suppler_sku_description

   

   

    oc_tax_class

   

   

    oc_tax_rate

   

   

    oc_tax_rate_to_customer_group

   

   

    oc_tax_rule

   

   

    oc_url_alias

   

   

    oc_user

   

   

    oc_user_group

   

   

    oc_voucher

   

   

    oc_voucher_history

   

   

    oc_voucher_theme

   

   

    oc_voucher_theme_description

   

   

    oc_weight_class

   

   

    oc_weight_class_description

   

   

    oc_zone

   

   

    oc_zone_to_geo_zone

   

   

    waitlist

Link to comment
Share on other sites


вот ик?

 

 

CREATE TABLE IF NOT EXISTS `oc_waitlist` (
`customer_id` int(11) NOT NULL,
`product_id` int(11) NOT NULL,
`date_added` datetime NOT NULL,
PRIMARY KEY (`customer_id`,`product_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

Link to comment
Share on other sites


 

Добавьте в контроллер админский

 

вот икой метод, чтобы иблица автоматом создавалась

		public function install() {
		
				$sql = "CREATE TABLE IF NOT EXISTS " . DB_PREFIX ."waitlist (
			`customer_id` int(11) NOT NULL,
			`product_id` int(11) NOT NULL,
			`date_added` datetime NOT NULL,
			PRIMARY KEY (`customer_id`,`product_id`)
			) ENGINE=MyISAM DEFAULT CHARSET=utf8";
			
			$query = $this->db->query($sql);
	
	
	}

В какой файл добавить?

Link to comment
Share on other sites


  • 1 month later...

 www.opencart.com/index.php?route=extension/extension/info&extension_id=3514

 

Плохо, конечно, рекомендовать в одном модуле чужой, но...

чего бы не использовать?

дорилиийте плиз.

ниже

snastik сказал(а) 28 Июн 2014 - 5:23 PM:snapback.png

 

Добавьте в контроллер админский

 

вот икой метод, чтобы иблица автоматом создавалась

ниже

		public function install() {
		
				$sql = "CREATE TABLE IF NOT EXISTS " . DB_PREFIX ."waitlist (
			`customer_id` int(11) NOT NULL,
			`product_id` int(11) NOT NULL,
			`date_added` datetime NOT NULL,
			PRIMARY KEY (`customer_id`,`product_id`)
			) ENGINE=MyISAM DEFAULT CHARSET=utf8";
			
			$query = $this->db->query($sql);

 

Будьте добры, засовывайте колбасы под спойлер!

отредактируйте - https://opencart-forum.ru/topic/24625-ocu-waitlist-уведомление-на-email-при-поступлении-товара/?do=findComment&comment=380947

Link to comment
Share on other sites

  • 3 weeks later...

Проверил на практически листом ocstore 1.5.5 - рилииет, шлет уведомления на почту, лист олищается автоматически, все ок

Link to comment
Share on other sites

  • 4 months later...
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.