Walmart, which last week said it would cut $200 million from its earnings and buy back stock, on Tuesday said it was expanding the promotion code to include a $100 credit for every purchase, up from $50 previously.

That means shoppers who make $100 will get $100 toward their next Walmart purchase.

Walmart’s stock was up 5.7% after the promotion, according to data from FactSet, the research firm.

The stock is up 9.3% since the start of the year.

The company, which reported a net loss of $8 billion for the first quarter, said it is “considering all options” to boost its sales and profit.

The company also said it plans to spend $2 billion on capital investments this year, which could help its bottom line.

Read moreWalmart has been losing money for years and has had to make big capital investments to help boost its bottom lines.

Last year, the retailer said it could spend up to $10 billion on stock buybacks in the coming years to help the company meet its financial goals.

Analysts said the company will likely be able to sustain the promotion until after the November elections.

More from CNBC.com:Walmart to offer free Wi-Fi at many locations in U.S.

This week, Walmart will begin offering free Wi.fi in more than 30 stores across the United States.

The promotion, which began Monday, is meant to give shoppers more time to buy online and to save money when it comes to paying for goods and services.

WalMart is the nation’s largest retailer, and it has more than 20,000 stores in the U.K., Canada, the U:P., the U.:Airlines and more than 8,000 U.N. stores.