BJ’s Restaurants Inc. is planning a new mobile program that will allow diners to order ahead and also pay at the table using their smartphones — part of a larger effort to help turn around dwindling sales.

Same-store sales for the chain dipped 2.7 percent in the fourth quarter as a result of a 2.3-percent decline in traffic. Officials blamed the combined impact of bad weather, the shorter holiday season, and ongoing macroeconomic headwinds that have plagued the casual-dining sector in general.

In a conference call with Wall Street analyst, however, BJ’s president and chief executive Greg Trojan focused on the chain’s future and efforts to re-ignite sales and generate new traffic.

For several months, the chain has been testing mobile payment with loyalty members, and, during the second half of the year, BJ’s will launch a mobile ordering program that will allow guests to use their smartphones, tablets or desktop devices to order their meals before they come to the restaurant or while they wait for a table.

As the fast-casual segment continues to chip away at casual-dining market share, BJ’s goal is to add the competitive advantage of “speed when you want it,” said Trojan.

The chain aims to improve the customer experience and remove the “two pain points” that can slow service: guests being able to order and pay when they’re ready, said Trojan. “It will clearly help us compete for occasions we might not have been considered for before because of the time it takes to dine with us,” he said. “We’ve never been particularly fast, so speed is the right objective here competitively.”

While consumers may need time to get used to mobile ordering and payment, the benefit in terms of service speed and table turns is clear, he said. “We know, used together, they can reduce an hour dining experience to a comfortable 35 to 40 minutes, without even feeling rushed.”

Trojan calls the move “casual fast,” saying it will be a key tool in the chain’s arsenal as it attempts to stand out from the casual-dining crowd.

Other casual-dining chains are also adding new technology this year, including both Applebee’s and Chili’s, which are rolling out the use of tabletop tablets for ordering and paying.

Trojan said allowing guests to use their own devices at BJ’s will eliminate the need to make the capital investment in hardware that might quickly become obsolete.

Mobile ordering is also moving into fashion in the quick-service world, with Taco Bell rolling out an app later this year that will allow guests to order ahead. But BJ’s will be one of the first in the casual-dining world to give guests that option.

The disadvantage with being first to debut such functionality with mobile devices is that guests may be slow to see the benefits, said Trojan. “Even with mobile pay, what we’re finding in the early days is that people don’t understand that they can pay anytime, even right after they’re done ordering,” he said. “You don’t have to wait for a server to give you anything.”

Millennials, however, seem to take immediately to the technology, and Trojan predicted older guests will catch on in time.