I'm going to do Facebook marketing or hunger shopping for $ 10

I'm going to do Facebook marketing or advertising for hungry shoppers

Welcome to my Facebook Marketing or Promotion gig !!

This promotion is aimed at people who want to take their business to the next level.

Do not worry! I am a digital marketing expert with 10 years of experience. I will raise your business

Organic Facebook-hungry shoppers target high quality traffic to increase your company's popularity and sales.

My services:

Facebook-friendly conversion of posts and shares
Professional design to increase the high conversion rate
100% manual posting and sharing with the target group of the Facebook group
Fast delivery on time
As proof, I will provide post links and screenshots

Why will you choose me

Fast and professional advertising service
Exceptional customer service
Fluent in English
Increase engagement and conversion rates
Unlimited revisions
24/7 customer service
100% money back guarantee

After all, I'm here to build a good relationship with my customers that we both will benefit from.

Note: We do not advertise adult products or services or misuse.

Javascript – Shopping cart items show errors after adding a description field to content

I tried to find out why there is an error in my shopping cart, but apparently you cannot find it. The problem started when I added the content of the description field and a small change to my Js file.

Here is the link to the project on github http://elvin247.github.io

Here is my Js code:

// JavaScript document
const client = contentful.createClient ({
// This is the space ID. The content of a space is like a project folder
Space: "r742wojtl7kg",
// This is the access token for this area. You usually get both the ID and the token in the Contentful web application
Access token:
A8PNnqkBaRJN4TvjyNxDR0C0erFG9LgntCJ_0hL68jM
});

// variables
const cartBtn = document.querySelector (". cart-btn");
const closeCartBtn = document.querySelector (". close-cart");
const clearCartBtn = document.querySelector (". clear-cart");
const cartDOM = document.querySelector (". cart");
const cartOverlay = document.querySelector (". cart-overlay");
const cartItems = document.querySelector (". cart-items");
const cartTotal = document.querySelector (". cart-total");
const cartContent = document.querySelector (". cart-content");
const productsDOM = document.querySelector (". products-center");
let cart = ();
let buttonDOM = ();
// syntactic sugar of the writing constructor function

// Products
Class products {
async getProducts () {
// always returns a promise so we can add .then
// We can use wait until the promise is fulfilled and return the result
To attempt {
// let result = wait for fetch ("products.json");
// leave data = wait for result.json ();
let contentful = wait for client.getEntries ({
content_type: "reejuviProducts"
});
console.log (contentful.items);

  let products = contentful.items;
  products = products.map(item => {
     const { title, price, description } = item.fields;
    const { id } = item.sys;
    const image = item.fields.image.fields.file.url;
   return { title, price, description, image };
  });

  return products;
} catch (error) {
  console.log(error);
}

}}
}}

// ui
Class UI {
displayProducts (products) {
let result = "";
products.forEach (product => {
Result + =

product

$ {product.title}

$ {product.description}

& # 8358; $ {product.price}


;;
});
productsDOM.innerHTML = result;
}}
getBagButtons () {
let button = (… document.querySelectorAll (". bag-btn"));
buttonDOM = buttons;
button.forEach (button => {
let id = button.dataset.id;
let inCart = cart.find (item => item.id === id);

  if (inCart) {
    button.innerText = "In Cart";
    button.disabled = true;
  }
  button.addEventListener("click", event => {
    // disable button
    event.target.innerText = "In Cart";
    event.target.disabled = true;
    // add to cart
    let cartItem = { ...Storage.getProduct(id), amount: 1 };
    cart = (...cart, cartItem);
    Storage.saveCart(cart);
    // add to DOM
    this.setCartValues(cart);
    this.addCartItem(cartItem);

// this.showCart ();
});
});
}}
setCartValues ​​(shopping cart) {
let tempTotal = 0;
let itemsTotal = 0;
cart.map (item => {
tempTotal + = item.price * item.amount;
itemsTotal + = item.amount;
});
cartTotal.innerText = parseFloat (tempTotal.toFixed (2));
cartItems.innerText = itemsTotal;
}}

addCartItem (item) {
const div = document.createElement ("div");
div.classList.add ("shopping cart");
div.innerHTML = `

$ {item.title}
₦ $ {item.price}
remove

      
`;
cartContent.appendChild(div);

}}
showCart () {
cartOverlay.classList.add ("transparentBcg");
cartDOM.classList.add ("showCart");
}}
setupAPP () {
cart = Storage.getCart ();
this.setCartValues ​​(cart);
this.populateCart (shopping cart);
cartBtn.addEventListener ("click", this.showCart);
closeCartBtn.addEventListener ("click", this.hideCart);
}}
populateCart (shopping cart) {
cart.forEach (item => this.addCartItem (item));
}}
hideCart () {
cartOverlay.classList.remove ("transparentBcg");
cartDOM.classList.remove ("showCart");
}}
cartLogic () {
clearCartBtn.addEventListener ("click", () => {
this.clearCart ();
});
cartContent.addEventListener ("click", event => {
if (event.target.classList.contains ("remove-item")) {
let removeItem = event.target;
let id = removeItem.dataset.id;
cartContent.removeChild (removeItem.parentElement.parentElement);
// remove item
this.removeItem (id);
} else if (event.target.classList.contains ("fa-chevron-up")) {
let addAmount = event.target;
let id = addAmount.dataset.id;
let tempItem = cart.find (item => item.id === id);
tempItem.amount = tempItem.amount + 1;
Storage.saveCart (shopping cart);
this.setCartValues ​​(cart);
addAmount.nextElementSibling.innerText = tempItem.amount;
} else if (event.target.classList.contains ("fa-chevron-down")) {
let lowerAmount = event.target;
let id = lowerAmount.dataset.id;
let tempItem = cart.find (item => item.id === id);
tempItem.amount = tempItem.amount – 1;
if (tempItem.amount> 0) {
Storage.saveCart (shopping cart);
this.setCartValues ​​(cart);
lowerAmount.previousElementSibling.innerText = tempItem.amount;
} else {
cartContent.removeChild (lowerAmount.parentElement.parentElement);
this.removeItem (id);
}}
}}
});
}}
clearCart () {
// console.log (this);
let cartItems = cart.map (item => item.id);
cartItems.forEach (id => this.removeItem (id));
while (cartContent.children.length> 0) {
cartContent.removeChild (cartContent.children (0));
}}
this.hideCart ();
}}
removeItem (id) {
cart = cart.filter (item => item.id! == id);
this.setCartValues ​​(cart);
Storage.saveCart (shopping cart);
let button = this.getSingleButton (id);
button.disabled = false;
button.innerHTML = add to cart;;
}}
getSingleButton (id) {
return buttonDOM.find (button => button.dataset.id === id);
}}
}}

Class memory {
static saveProducts (products) {
localStorage.setItem ("Products", JSON.stringify (Products));
}}
static getProduct (id) {
let products = JSON.parse (localStorage.getItem ("products"));
return products.find (product => product.id === id);
}}
static saveCart (shopping cart) {
localStorage.setItem ("cart", JSON.stringify (cart));
}}
static getCart () {
return localStorage.getItem ("cart")
? JSON.parse (localStorage.getItem ("cart"))
: ();
}}
}}

document.addEventListener ("DOMContentLoaded", () => {
const ui = new user interface ();
const products = new products ();
ui.setupAPP ();

// get all products
Products
.getProducts ()
.then (products => {
ui.displayProducts (products);
Storage.saveProducts (products);
})
.then (() => {
ui.getBagButtons ();
ui.cartLogic ();
});
});

Make a guest post in the German shopping magazine for $ 40

write a guest post in the German shopping magazine

We will publish a guest post on our German blog.
It contains 500 words.
Domain is .de.
No PBN or hidden network!
Real website operated by a company and owner.
Website founded in 2011.
The site has a small Twitter profile, a Facebook page and a YouTube channel.
The publication is in German.

// //
To see the URL of the website, please send us a message and we will send you the link.
// //

// //
Do you work on Sundays? What time zone are you in? No, Sunday is not a working day. So if you order on a Sunday, we will get back to you on Monday morning.
// //

// //
WE DO NOT ACCEPT: PORN, PLAY, PHARMA, ADULTS!
// //

// //
We offer 46 German websites in a total of 22 different niches (health, fitness, finance, vouchers, blogs, technology, etc.). Just ask us about our portfolio!
// //

(tagsToTranslate) Link (t) backlink

Mini shopping cart – add the regular price with special price for mini cart and order overview (checkout page) – Magento 2.2.9

I am trying to have a regular price in addition to a special price on the minicart and checkout page. I added it on the cart page thanks to this topic:

Magento 2: How are the special price and regular price displayed on the shopping cart page?

But my tests to add it on the mini cart and checkout page are not good yet. Can you help me ?

For the minicart I tried changing sidebar.html to Magento_Wee with this code, but it didn't work:

getProduct()->getFinalPrice();
$normalPrice = $item->getProduct()->getPrice();
if ($block->displayPriceWithWeeeDetails()): ?>
        
    
        
    
        formatPrice($block->getUnitDisplayPriceExclTax()); ?> 
        

    
    
            formatPrice($normalPrice); ?>
    
    

Make a guest post on the German sweepstakes and shopping blog for $ 40

make a guest post on the German competition and shopping blog

We will publish a guest post on our German blog.
It contains 500 words.
Domain is .de.
No PBN or hidden network!
Real website operated by a company and owner.
Website founded in 2011.
The site has a small Twitter profile, a Facebook page and a YouTube channel.
The publication is in German.

// //
To see the URL of the website, please send us a message and we will send you the link.
// //

// //
Do you work on Sundays? What time zone are you in? No, Sunday is not a working day. So if you order on a Sunday, we will get back to you on Monday morning.
// //

// //
WE DO NOT ACCEPT: PORN, PLAY, PHARMA, ADULTS!
// //

// //
We offer 46 German websites in a total of 22 different niches (health, fitness, finance, vouchers, blogs, technology, etc.). Just ask us about our portfolio!
// //

(tagsToTranslate) Link (t) backlink

Algorithms – Shopping cart offers

I've been wondering about this problem for some time. I find it interesting and couldn't find a solution.

This has to be seen in the context of a shopping cart in which you can first put 1 gold bar in your shopping cart and then add another 2 so that the total is 3.

Let's say we have these products:

1 gold bar = $ 40
2 gold bars = $ 80
3 gold bars = $ 110

So if I add 1 gold bar, my cart will be worth $ 40. If you add another 2, my cart will be worth $ 120.

Now I have 3 gold bars in my car.

But there is a price for 3 gold bars at $ 110, and I want this price to go up, of course, since I have 3 gold bars in my shopping cart.

Can this be classified as a normal backpack problem? Or is there another way of looking at it?

Thank you very much

magento 1.9 – The shopping cart rule does not apply if the condition applies to a custom shipping method

Where am I struggling with a problem, I create a custom shipping module based on this Envato Tutorial URL

The problem is that when I create a cart rule and choose one of the conditions my custom shipping method, the coupon that does not work, I try to call the method in my carrier class request->getFreeShipping() of the shipping module, but I always go wrong, the extension works well, if I remove the condition of the specific custom shipping method, the method will come true.

My code:

config.xml



    
        
            1.0
        
    
    
        
            
                Envato_Customshippingmethod_Model
            
        
        
            
                Envato_Customshippingmethod_Helper
            
        
    
    
        
            
                1
                1
                envato_customshippingmethod/demo
                Demo Shipping Method One
                10.00
                Demo Shipping Method
            
        
    

system.xml



    
        
            
                
                    
                    1
                    1
                    0
                    0
                    
                        
                            
                            select
                            adminhtml/system_config_source_yesno
                            1
                            1
                            0
                            0
                        
                        
                            <label>Shipping Method Name</label>
                            <frontend_type>text</frontend_type>
                            <sort_order>20</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>0</show_in_website>
                            <show_in_store>0</show_in_store>
                        
                        
                            
                            select
                            shipping-applicable-country
                            adminhtml/system_config_source_shipping_allspecificcountries
                            30
                            1
                            0
                            0
                        
                        
                            
                            multiselect
                            31
                            adminhtml/system_config_source_country
                            1
                            0
                            0
                            1
                        
                    
                
            
        
    

Demo.php

getFreeShipping());die;
        $result = Mage::getModel('shipping/rate_result');
        $result->append($this->_getDefaultRate());

        return $result;
    }

    public function getAllowedMethods()
    {
        return array(
            'envato_customshippingmethod' => $this->getConfigData('name'),
        );
    }

    protected function _getDefaultRate()
    {
        $rate = Mage::getModel('shipping/rate_result_method');

        $rate->setCarrier($this->_code);
        $rate->setCarrierTitle($this->getConfigData('title'));
        $rate->setMethod($this->_code);
        $rate->setMethodTitle($this->getConfigData('name'));
        $rate->setPrice($this->getConfigData('price'));
        $rate->setCost(0);

        return $rate;
    }
}

The shopping cart rule that I do not post the picture because it works perfectly only stops working if I add the condition for a certain shipping method.

Note: I use Magento ver. 1.9.3.2

Many thanks for the help.

checkoutsession – Magento 1.9 forwarding at checkout / in the shopping cart after online payment

I applied the latest security patches from the Magento website and after that I have a strange behavior:

After an order with online payment has been completed, the payment (card) is forwarded to Checkout / shopping cart about public function successAction () of app code core Mage Checkout controller OnepageController.php

This means that after the page is redirected to the payment website and then returned to our website, the session is somehow lost.

$ session-> getLastSuccessQuoteId () returns NULL and does so for that reason.

I even checked

$lastQuoteId = $session->getLastQuoteId();

$lastOrderId = $session->getLastOrderId();

$lastRecurringProfiles = $session->getLastRecurringProfileIds();

and these are also zero. I also looked at the DB and the quote is there and everything seems to be in order.

Can somebody help me with it?