rtl css for product list & currency capital

This commit is contained in:
rahul shukla 2019-03-29 16:48:00 +05:30
parent bc8d30e7c1
commit 257dfc8b1e
6 changed files with 24 additions and 5 deletions

View File

@ -16,6 +16,17 @@ class Currency extends Model implements CurrencyContract
'code', 'name'
];
/**
* Set currency code in capital
*
* @param string $value
* @return void
*/
public function setCodeAttribute($code)
{
$this->attributes['code'] = strtoupper($code);
}
/**
* Get the currency_exchange associated with the currency.
*/

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{
"/js/shop.js": "/js/shop.js?id=412d129ed770afb5dee3",
"/css/shop.css": "/css/shop.css?id=ca58506c6702a8348793"
"/css/shop.css": "/css/shop.css?id=d98996a63bdc266f7832"
}

View File

@ -30,7 +30,7 @@ class Currency
public function handle($request, Closure $next)
{
$query = parse_url($_SERVER['REQUEST_URI'], PHP_URL_QUERY);
$currencyTerm = explode("?", $query);
$currencyTerm = preg_split('/(\?|&)/', $query);
$currencyCode = '';
foreach($currencyTerm as $term){

View File

@ -30,7 +30,7 @@ class Locale
public function handle($request, Closure $next)
{
$query = parse_url($_SERVER['REQUEST_URI'], PHP_URL_QUERY);
$localeTerm = explode("?", $query);
$localeTerm = preg_split('/(\?|&)/', $query);
$localCode = '';
foreach($localeTerm as $term){

View File

@ -3655,7 +3655,7 @@ section.review {
// product card
.main-container-wrapper .product-card .sticker {
left: auto;
right: 10px;
right: 20px;
}
.main-container-wrapper .product-card .cart-wish-wrap .addtocart {
@ -4027,6 +4027,14 @@ section.review {
left: auto;
}
}
.product-list {
.product-card .product-information {
padding-left: 0px;
padding-right: 30px;
float: left;
}
}
}
/// rtl css end here