System records all access data into the database, including visitors and machine access (such as search engine crawlers), machine access will typically account for a large part of the data, so that will produce a small amount of additional server performance costs, including Web services, MySQL database service; This part of the data can not be seen. The database tables responsible for logging access logs are: Log_customer, Log_quote, Log_summary, Log_summary_type, Log_url, Log_url_info, Log_vis
In the checkout page, if you want to determine whether the customer has the use of coupon code, you can judge by checkout session.The following code returns the coupon code used in checkout or returns Null (when no coupon code is used)1PHP2 3 $coupon _code= Mage::getsingleton (' checkout/session ')->getquote ()->getcouponcode ();if($coupon _code){ 4 Echo"Coupon used"; 5}Else{ 6 Echo"Coupon Not used"; 7 } 8 9?>magento--Determine if coup
Use Magento to make product list?? Can be added directly to MQ shopping cart
There are a few questions, please ask the experts.
1. The list of restaurants is displayed on the left. Click on a restaurant to expand its menu below.
2. Click on a category to display the detailed menu on the right.
3. There is a check box on each of the dishes on the right. If clicked, the number will be displayed on the right side of the price, the default
"1", click "+
Check Links for errors
Link errors are usually two possible, one is misspelled, and the other is a background-enabled store view code added to the link, but the test was not written to the address bar –-
Check if the part is open
Sometimes the associated controller is not available because the component is not turned on for some reason. You can go to the background system/configuration > advanced/advanced to find whether the component exists in the list.
If the component does not open, it is
First, update the attribute input type to multiselect:
UPDATE eav_attribute SETentity_type_id = ‘4‘,attribute_model = NULL,backend_model = ‘eav/entity_attribute_backend_array‘,backend_type = ‘varchar‘,backend_table = NULL,frontend_model = NULL,frontend_input = ‘multiselect‘,frontend_class = NULLWHERE attribute_id = ‘YOUR_ATTRIBUTE_ID_HERE‘;
Next, copy the attribute values from the old table to the new:
INSERT INTO catalog_product_entity_varchar ( entity_type_id, attribute_id, store_id, entity_i
Agent upgrade error or installation failure
The service temporarily unavailable error may occur, so that the front-end and backend of the website cannot be displayed.
If the error still persists after the operation is completed, you can use the following methods:
1. Delete the maintenance. Flag under the root directory of the website. It should appear if it is not refreshed;
2. Delete the content in the var/cache folder of the website. If you delete the cache folder, The cache_dir file may n
Magento integrates the PayPal function and background settings:
1
System-> config-paypel
Go:
1.1Merchant countrySet country
1.2 email associated with PaypalSet Account
1.3 select a PayPal Solution
1.4 selected
Website payments standard-PayPal processes all of your orders, and you get paid.
Hook the front, and remove other hooks.
1.5
In the following section, open the website payment standard setting point.
1.5.1
Payment action --> sale
1.5.2
Payment a
Tags: des style blog color for SP file Div on
How to manually modify the order status on the Order details page:
Open this file: app \ design \ adminhtml \ Default \ template \ sales \ order \ view \ history. phtml
The 34 rows are as follows:
To:
Refresh the page to see if :)
How to manually modify order status in magento background
Another error occurred in the Magento Guide database:
A similar error occurred during the execution of the restored database or SQL statement:C:mysqlbin>mysql Sq_zgzk
Error 1064 (42000) at line 382:you have a error in your SQL syntax; Check the manual that corresponds to your MySQL server version for the right syntax to use near ' USINGKEY ' fk_attribute_varchar_entity ' (' entity_id '),KEY ' Fk_catalo ' at line 9
The solution is to search
Magento Set Express PayPal, click on the Product detail page or shopping cart page
Direct jump to the PayPal checkout page when there is no related shipping costs, and the normal checkout process freight calculation is no problem.
In the default mode of transport flat rate, you can override the method (module rewrite yourself to handle LOL):
app/code/core/mage/paypal/model/express/checkout.php @function Returnfrompaypal
In
The code
Label: blog Io ar use Java data Div on CTI
1. First, you must set a date attribute in the background to the pre-sale date.
2. Then retrieve the property value $ _ product-> getresource ()-> getattribute ('code')-> getfrontend ()-> getvalue ($ _ product );
A string-type time data is retrieved. You need to use the strtotime () function to convert the time into a timestamp, and then get the current time. the subtraction of the two is the countdown seconds.
3. display the countdown using JS
VaR intd
Label: style blog color Io for SP file Div on
For example, to add a shipping method/Shipping Methods tag to the product details page, you can simply do this:
Open the template file directory layout and edit local. xml.
Create
Review/product/View/shipping. phtml File
Add a tab on the magento product description page.
Fetching and updating magento config data03 10
2011 0
Viet Le Quang
In magnto, it's easy to Update Configuration data for a store through the admin interface, or by going into the database itself and making the changes (after getting your head round EAV ). the tableCore_config_dataIn particle holds a lot of this information. There is also a way of doing this via PHP/MySQL by using magento's own inbuilt functions.
The function accepts only a few argume
When performing magento operations, you may want to add featuredproducts to the product category page. These products are generally sold well, or if you have a large profit, how should we add such products? The following describes how to display a group of Recommendation products ). The featured attribute must be added to the backend of the featured product. When the Administrator selects yes on the featured attribute, the product is displayed as a bl
content is added as the final input element of a class. The following is a standard test of Form Verification for Magento.
Verify administrator password
Verify Ajax
Verify-α
Verify alphanum's
Verify CC-CVN
Verify CC-EXP
Verify the number of milliliters
Verify milliliters
Verify CC Selection
Verify the cleansing URL
Verification Code
Verify cpassword's
Verify CSS Length
Verify currency USD
Verify data
Verification date
Verification D
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.