app/design/frontend/Vendor/theme_name/Magento_Catalog/page_layout/catalog_product_view.xml
<move element="product.info.details" destination="product.info.main" after="product_options_wrapper_bottom"/>
app/design/frontend/Vendor/theme_name/Magento_Catalog/page_layout/catalog_product_view.xml
<move element="product.info.details" destination="product.info.main" after="product_options_wrapper_bottom"/>
php -f bin/magento setup:upgrade
last part.
go to bin
php magento sampledata:deploy
php magento setup:di:compile
php magento setup:upgrade
magento 2 installation digitalocean lamp #bookmark
apt-get update apt-get install git wget wget -O /usr/local/bin/composer http://getcomposer.org/composer.phar chmod +x /usr/local/bin/composer
cd /var/www/html download and upload magento file https://www.magentocommerce.com/download upload and unzip tar xjf file.tar.bz2 cd /var/www/html/theory composer install
chown -R root:www-data /var/www/html/theory find /var/www/html/theory -type f -print0 | xargs -r0 chmod 640 find /var/www/html/theory -type d -print0 | xargs -r0 chmod 750 chmod -R g+w /var/www/html/theory/{pub,var}
chmod -R g+w /var/www/html/theory/{app/etc,vendor}
DATABASE
https://www.digitalocean.com/community/tutorials/a-basic-mysql-tutorial
mysql -u root -p
SHOW DATABASES;
CREATE DATABASE database name;
DROP DATABASE database name;
GRANT ALL PRIVILEGES ON databasename.* TO 'databaseuser'@'localhost' IDENTIFIED BY 'passwordfordatabase';
// redirects for login / logout
add_filter(‘woocommerce_login_redirect’, ‘login_redirect’);
function login_redirect($redirect_to) {
return home_url();
}
add_action(‘wp_logout’,’logout_redirect’);
function logout_redirect(){
wp_redirect( home_url() );
exit();
}
add_action( ‘woocommerce_before_add_to_cart_button’, function(){
// start output buffering
ob_start();
} );
add_action( ‘woocommerce_before_single_variation’, function(){
// end output buffering
ob_end_clean();
// output custom div
echo ‘
http://stackoverflow.com/questions/29377643/woocommerce-always-showing-add-to-cart-button-even-before-variation-is-selected
gettext – The Most Useful Filter in WordPress http://speakinginbytes.com/2013/10/gettext-filter-wordpress/
/**
* Change text strings
*
* @link http://codex.wordpress.org/Plugin_API/Filter_Reference/gettext
*/
function my_text_strings( $translated_text, $text, $domain ) {
switch ( $translated_text ) {
case ‘Related Products’ :
$translated_text = __( ‘You may also like these’, ‘woocommerce’ );
break;
}
return $translated_text;
}
add_filter( ‘gettext’, ‘my_text_strings’, 20, 3 );
NEW porter #responsive #bigcommerce #theme from on @Gumroad: https://t.co/te3pGaPH2w at $60 offer sale. http://t.co/CuqMbPbwC6
— Rawi Rai (@officialstupid) July 15, 2015
#bigcommercewizard #bigcommerce #themes #membership for companies, developer or shopper. http://t.co/Vj6tZ1g13u
— Rawi Rai (@officialstupid) June 9, 2015
https://t.co/8Mf2OszrZU #sumnima #lingerie & #bikini #magento #theme #RWD now with black layout. checkout demo – http://t.co/xaZg7JlUVy
— Rawi Rai (@officialstupid) May 8, 2015