February 23, 2012, 07:27:30 PM

Author Topic: สอบถามเรื่อง product category ครับ  (Read 245 times)

0 Members and 1 Guest are viewing this topic.

Offline nont

  • Newbie
  • *
  • Posts: 16
  • ความคิดเห็น +0/-0
    • View Profile
script ทั้งของผม version 2.3 ครับ

ผมสังเกตุทั้งของผมและหลายๆ ท่าน

จะไม่สามารถ browse product category ไปด้เกินหน้า 10 ครับ

คือ พอเปิดไล่ไปถึงหน้า 11 แล้ว ข้อมูลสินค้าจะไม่ขึ้นครับ

ตัวอย่าง
ยังขึ้น
http://www.bestpricetv.net/catalog/i_Electronics/b_300334/pg_1/
http://www.bestpricetv.net/catalog/i_Electronics/b_300334/pg_10/

ถัดจากหน้านี้ไม่ขึ้นแล้ว
http://www.bestpricetv.net/catalog/i_Electronics/b_300334/pg_11/
http://www.bestpricetv.net/catalog/i_Electronics/b_300334/pg_308/
ทั้งๆ ที่มีสินค้า ถึง 308 หน้าครับ


อันนี้รบกวนยืมของท่านอื่นมาโชว์

http://www.buysaxophoneshop.com/catalog/i_MusicalInstruments/b_11972151/pg_1/    ขึ้น
http://www.buysaxophoneshop.com/catalog/i_MusicalInstruments/b_11972151/pg_11/   ไม่ขึ้น



ไม่ทราบว่าเป็น bug หรือเปล่าครับ  จะสามารถแก้ไขได้อย่างไรครับ  ;)

ขอบคุณล่วงหน้าครับ


« Last Edit: January 15, 2012, 11:06:02 PM by nont »

Offline admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 2543
  • ความคิดเห็น +12/-0
  • Make me feel Alive
    • View Profile
    • Sale Script Solution
Re: สอบถามเรื่อง product category ครับ
« Reply #1 on: January 15, 2012, 11:35:59 PM »
เป็นบัก API ครับ

มันส่งข้อมูล จำนวนหน้ามาครับ  ทั้ง ๆ ที่สินค้ามีจำนวนไม่ถึงครับ

Offline nont

  • Newbie
  • *
  • Posts: 16
  • ความคิดเห็น +0/-0
    • View Profile
Re: สอบถามเรื่อง product category ครับ
« Reply #2 on: January 16, 2012, 02:02:41 PM »
เป็นบัก API ครับ

มันส่งข้อมูล จำนวนหน้ามาครับ  ทั้ง ๆ ที่สินค้ามีจำนวนไม่ถึงครับ

ถ้าเป็นลักษณะนั้น แสดงว่าสินค้าทุกหมวด มีไม่เกิน 300 ชิ้นเหรอครับคุณก้อง

http://www.buydigitalcamcorders.com/catalog/i_Electronics/b_172421/br_Sony/pg_1/
http://www.buydigitalcamcorders.com/catalog/i_Electronics/b_172421/br_Sony/pg_10/

หน้า 1 ถึง 10 ยัง โอเค แต่ พอ หน้า 11

หายครับ
http://www.buydigitalcamcorders.com/catalog/i_Electronics/b_172421/br_Sony/pg_11/

 :00d

Offline admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 2543
  • ความคิดเห็น +12/-0
  • Make me feel Alive
    • View Profile
    • Sale Script Solution
Re: สอบถามเรื่อง product category ครับ
« Reply #3 on: January 16, 2012, 02:16:22 PM »
ไม่เสมอไปครับ บางอย่างมาเป็นพันก็มีครับ

Offline nineaom

  • Newbie
  • *
  • Posts: 39
  • ความคิดเห็น +0/-0
    • View Profile
Re: สอบถามเรื่อง product category ครับ
« Reply #4 on: January 16, 2012, 02:38:46 PM »
ไม่เสมอไปครับ บางอย่างมาเป็นพันก็มีครับ

คุณก้องครับเห็น โพสในไทยเสียวเกี่ยวกับเขียนบทความ ตรงนี้หมายถึง เขียน ในแต่ละ สินค้าหรอครับ หรือเฉพาะหน้าหลัก อ่าครับ :00f

Offline admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 2543
  • ความคิดเห็น +12/-0
  • Make me feel Alive
    • View Profile
    • Sale Script Solution
Re: สอบถามเรื่อง product category ครับ
« Reply #5 on: January 16, 2012, 02:42:39 PM »
ตามลำดับความสำคัญครับ

1.เป็นสินค้าไป

2.เขียนลงหน้า Catalog

3.ลงที่ Review



Offline nont

  • Newbie
  • *
  • Posts: 16
  • ความคิดเห็น +0/-0
    • View Profile
Re: สอบถามเรื่อง product category ครับ
« Reply #6 on: January 17, 2012, 03:08:22 AM »
คุณก้องครับ รบกวนขอตัวอย่าง Script ที่สามารถ browse ได้เกินหน้า 10 ด้วยหน่อยได้มั้ยครับ

ผมลองทดสอบดูหลายๆ เว็บ มันได้ไม่เกินเลยอะครับ  ???


Offline thavee

  • Official Partner
  • Sr. Member
  • *
  • Posts: 415
  • ความคิดเห็น +3/-0
    • View Profile
    • Antique vintage diamond engagemen tring
Re: สอบถามเรื่อง product category ครับ
« Reply #8 on: January 20, 2012, 07:05:15 PM »
Quote
ทุก link สินค้าที่ หน้า 10 แสดงปกติครับ พอหน้า 11 หายครับผม 

ตามกฏ อเมซอน หรือเปล่าครับ ที่ว่าจะดึงสินค้าได้แค่ 10 หน้าเท่านั้น

Offline nont

  • Newbie
  • *
  • Posts: 16
  • ความคิดเห็น +0/-0
    • View Profile
Re: สอบถามเรื่อง product category ครับ
« Reply #9 on: January 20, 2012, 07:26:55 PM »
Quote
ทุก link สินค้าที่ หน้า 10 แสดงปกติครับ พอหน้า 11 หายครับผม 

ตามกฏ อเมซอน หรือเปล่าครับ ที่ว่าจะดึงสินค้าได้แค่ 10 หน้าเท่านั้น

ถ้าลักษณะนั้นเราสามารถปรับให้สคริปแสดงแค่ 10 หน้าได้มั้ยอะครับ
เพราะหน้าหลังจากนั้นมันจะกดไปไม่เจออะไร เหมือนเว็บเสีย สินค้าไม่แสดงอะครับ

Offline thavee

  • Official Partner
  • Sr. Member
  • *
  • Posts: 415
  • ความคิดเห็น +3/-0
    • View Profile
    • Antique vintage diamond engagemen tring
Re: สอบถามเรื่อง product category ครับ
« Reply #10 on: January 21, 2012, 01:44:36 AM »
Quote
ถ้าลักษณะนั้นเราสามารถปรับให้สคริปแสดงแค่ 10 หน้าได้มั้ยอะครับ
เพราะหน้าหลังจากนั้นมันจะกดไปไม่เจออะไร เหมือนเว็บเสีย สินค้าไม่แสดงอะครับ

ไปเปลี่ยนที่ system/search.php   ประมาณบันทัดที่ 108 - 112 มันจะมี เลข 400 อยู่ ก็ให้เปลี่ยนเป็นเลข 10 ได้หรือตามที่ต้องการครับ 2 ที่นะครับ

Offline nont

  • Newbie
  • *
  • Posts: 16
  • ความคิดเห็น +0/-0
    • View Profile
Re: สอบถามเรื่อง product category ครับ
« Reply #11 on: January 21, 2012, 12:42:48 PM »
Code: [Select]
As part of our continued effort to ensure that Product Advertising API is an efficient and effective advertising tool, we’ve identified opportunities to streamline the API. Certain operations and response groups currently supported are infrequently used or are not aligned with the primary purpose of the Product Advertising API, which is to enable Associates to make money by advertising Amazon products in their websites and applications and sending traffic back to Amazon.

The changes, described below, will help us continue to provide you with relevant and useful features to advertise Amazon products. The following changes to the API will take effect on November 1, 2011:

•Associate Tag will be a required and verified input parameter in all requests to the API
•SellerLookup, SellerListingLookup and SellerListingSearch operations will no longer be supported by the API
[b]•ItemPage parameter will be limited to a maximum of 10 pages for ItemSearch results[/b]
•MerchantId parameter will no longer be supported for filtering offers, variations and search results
•Merchants search index will no longer be supported
•Data returned by the Offers and ItemAttributes response groups will be limited to the most frequently used attributes
The new Product Advertising API interface definition (WSDL) is now available. While your application may continue to operate after November 1, 2011 using older WSDLs, we will stop supporting all previous versions on February 21, 2012. Please upgrade to the latest WSDL before that date to ensure the continued operation of your application.

For more details about these changes, please click here.

The Product Advertising API Team

จริงด้วยครับ  :00d ผมก็หลงนึกว่าเป็น bug ต้องขออภัยคุณก้องด้วย

แบบนี้น่าจะออกเป็น update ปรับปรุงสคริปใ้ห้ทุกคนมั้ยครับ

เพราะผมไม่เห็นความหมายอะไรที่จะมีหน้าที่กดเข้าไปแล้วไม่มีข้อมูลอะไรเลย

จะได้เป็นปรกติกันถ้วนหน้าครับ

Offline nineaom

  • Newbie
  • *
  • Posts: 39
  • ความคิดเห็น +0/-0
    • View Profile
Re: สอบถามเรื่อง product category ครับ
« Reply #12 on: January 21, 2012, 03:12:25 PM »
เรื่องกฏใหม่ที่มันออกมา ต้องปรับแต่งส่วนไหนบ้างหรอครับ ผมยัง งงๆ อยู่เลย  :00f