承接 haka002/prestashop-webservice-lib 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

haka002/prestashop-webservice-lib

最新稳定版本:2.2.2

Composer 安装命令:

composer require haka002/prestashop-webservice-lib

包简介

PrestaShop Webservice access library.

README 文档

README

PHP library for PrestaShop Webservices

This repository is only because people want to use the webservice with PrestShop 1.7 also. The difference between the originally and this is only the max version number.

You can find the originnal documentation here: http://doc.prestashop.com/display/PS16/Web+service+one-page+documentation

// Here we define constants /!\ You need to replace this parameters
define('DEBUG', true);											// Debug mode
define('PS_SHOP_PATH', 'http://www.myshop.com/');		// Root path of your PrestaShop store
define('PS_WS_AUTH_KEY', 'ZQ88PRJX5VWQHCWE4EE7SQ7HPNX00RAJ');	// Auth key (Get it in your Back Office)
require_once('./PSWebServiceLibrary.php');

// Here we make the WebService Call
try
{
	$webService = new PrestaShopWebservice(PS_SHOP_PATH, PS_WS_AUTH_KEY, DEBUG);

	// Here we set the option array for the Webservice : we want customers resources
	$opt['resource'] = 'customers';

	// Call
	$xml = $webService->get($opt);
	// Here we get the elements from children of customers markup "customer"
	$resources = $xml->customers->children();
}

统计信息

  • 总下载量: 1.61k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 307
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2017-03-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固