osclass

osclass Counting number of Sales of specifed id products

无人久伴 提交于 2020-01-06 17:39:27
问题 I have this table item_log : fk_i_item_id product amount currency status $sales = $conn->osc_dbFetchResult("SELECT COUNT(status) FROM %st_item_log WHERE fk_i_item_id = '%s' AND status = 'COMPLETED'", DB_TABLE_PREFIX,osc_logged_user_id()); echo $sales['COUNT(status)'] I want to count total number of sales of an product in the same echo. ex *********************************************************** fk_i_item_id product amount currency status ****************************************************

mandrill integration with osclass 3.3.x

人走茶凉 提交于 2019-12-24 12:02:22
问题 I try to setup mail server for my Osclass website.but it doesn't work . I try every port 25, 587 or 2525 for non encryption but it not work. Is there is any mandrill plugin available for Osclass? anyone who has already integrated mandrill and Osclass can please tell what is missing? 回答1: it looks like you're not specifying an email address in the "Mail from" field, which might be causing some issues because you do need to specify a sender email address and not just a name. However, if you're

Bootstrap carousel with OS-Class

心不动则不痛 提交于 2019-12-12 02:05:38
问题 I need to create dynamically bootstrap carousel like this: <div id="carousel-example-generic" class="carousel slide" data-ride="carousel"> <!-- Indicators --> <ol class="carousel-indicators"> <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li> <li data-target="#carousel-example-generic" data-slide-to="1"></li> etc... </ol> <!-- Wrapper for slides --> <div class="carousel-inner"> <div class="item active"> <img src="someIMG.jpg" alt="..."> </div> <div class="item"

How to modify ft_min_word_len=4 to ft_min_word_len=1 so that osclass 3.7.1 can search min 1 character word, instead of 4?

倖福魔咒の 提交于 2019-12-02 21:18:54
问题 I want to change minimum character length for search from 4 to 1. I found this documentation https://doc.osclass.org/Fine-Tuning_MySQL_Full-Text_Search_-_Improving_search about osclass. The thing is that, from the databases I use on my host, only this one has this 4 character limit, the rest of them have 0 or not set. So I need to modify this ft_min_word_len=4 to `ft_min_word_len=1' ONLY in the osclass database. Can someone help with a sollution? I have access to cpanel and phpMyAdmin 回答1: It

How to modify ft_min_word_len=4 to ft_min_word_len=1 so that osclass 3.7.1 can search min 1 character word, instead of 4?

一曲冷凌霜 提交于 2019-12-02 11:25:34
I want to change minimum character length for search from 4 to 1. I found this documentation https://doc.osclass.org/Fine-Tuning_MySQL_Full-Text_Search_-_Improving_search about osclass. The thing is that, from the databases I use on my host, only this one has this 4 character limit, the rest of them have 0 or not set. So I need to modify this ft_min_word_len=4 to `ft_min_word_len=1' ONLY in the osclass database. Can someone help with a sollution? I have access to cpanel and phpMyAdmin It turns out that, from my scripts, only osclass uses this ft_min_word_len=4 variable from the server. So I