May 4, 2011

Amazon feed to Woocommerce product | CyberSEO Pro | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Amazon feed to Woocommerce product
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
March 11, 2023
9:44 pm
Avatar
ewald.wizzler
Member
Members
Forum Posts: 5
Member Since:
March 4, 2023
sp_UserOfflineSmall Offline

I can import an amazon feed to a woocommerce product. How can I also put the affiliate link and the price in the woocommerce product.

March 11, 2023
10:06 pm
Avatar
CyberSEO
Admin
Forum Posts: 3676
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

By default, WooCommerce does not have a specific custom field to store a link to an external order page for a product. Your theme may use some custom filed for that, but its name depends on your theme.

As about the price, so it should be stored in the “_price” custom filed. For example, if you import an Amazon product with the “Amazon product search page”, the price can be obtained from the “price” XML tag. To store its value as a WooCommerce product price, you have to put the following line into the Login to see this link box:

Login to see the code

The same method works with a link to Amazon product page. As said above, WooCommerce has no such a custom field. It’s made to sell your own products via your own billing form. But if your theme uses some custom field for that (say “product_page“), you can use the same method:

Login to see the code

Don’t forget to select “product” in the CyberSEO Pro Syndicator Login to see this link, such as WooCommerce product categories, tags etc.

You can use Login to see this link to add a link to Amazon product page to above or below the post’s body. E.g.:

Login to see the code

March 11, 2023
10:50 pm
Avatar
ewald.wizzler
Member
Members
Forum Posts: 5
Member Since:
March 4, 2023
sp_UserOfflineSmall Offline

Thanks for your quick reply. This will do the trick.

March 12, 2023
10:45 am
Avatar
CyberSEO
Admin
Forum Posts: 3676
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

I’ve added this feature to the “Amazon product search page” preset. Now the item’s price will be automatically added as a WooCommerce product field.

Any WooCommerce product is just a normal WordPress that belongs to “product” custom post type, which should be selected in the CyberSEO Pro feed settings, and it has the following custom fields:

Login to see the quote

The CyberSEO Pro plugin gives you full control over the WooCommerce products and allows you to customize any of their fields just as you want. Especially if you are familiar with PHP at a basic level and know how to write CyberSEO Pro snippets. E.g.:

Login to see the code

The snippet above extracts the product’s price from the XML “price” tag and sets it as a WooCommerce product sale price without a currency symbol. After that it adds 5 ($, €‎ etc) to the actual (“old”) price, to make the potential buyer think that the product is on sale and it’s cheaper than it was say a day before…

Yes, that’s a dirty trick, but it shows you the way you can easily manipulate with any WooCommerce product fields.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
9 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 64

Freedom: 61

MediFormatica: 49

B8europe: 47

saviulisse67: 45

Member Stats:

Guest Posters: 338

Members: 2636

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1535

Posts: 7754

Newest Members:

kevin.crywolf, kevin.cooper.boonenewsmedia, florian.stickel, t.schleiser, worldnetsites, janodamek

Administrators: CyberSEO: 3676